From d1a37d9c75b7b41a9d9dc8bb6670c91d437c66f5 Mon Sep 17 00:00:00 2001 From: piro Date: Tue, 29 Apr 2008 18:27:47 +0000 Subject: [PATCH] =?UTF-8?q?Firefox=203=E3=81=AE=E4=BB=95=E6=A7=98=E5=A4=89?= =?UTF-8?q?=E6=9B=B4=E3=81=AB=E8=BF=BD=E5=BE=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2264 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/bookmarksOverlay.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content/treestyletab/bookmarksOverlay.js b/content/treestyletab/bookmarksOverlay.js index 599236f9..e65b7876 100644 --- a/content/treestyletab/bookmarksOverlay.js +++ b/content/treestyletab/bookmarksOverlay.js @@ -33,9 +33,11 @@ window.addEventListener('load', function() { ); } - if ('PlacesUtils' in window) { // Firefox 3 - eval('PlacesUtils._openTabset = '+ - PlacesUtils._openTabset.toSource().replace( + // Firefox 3 + if ('PlacesUIUtils' in window || 'PlacesUtils' in window) { + var urils = 'PlacesUIUtils' in window ? PlacesUIUtils : PlacesUtils ; + eval('urils._openTabset = '+ + urils._openTabset.toSource().replace( 'browserWindow.getBrowser().loadTabs(', <>