Firefox 3の仕様変更に追従

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2264 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-04-29 18:27:47 +00:00
parent 48cce5aed6
commit d1a37d9c75

View File

@ -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(',
<><![CDATA[
if (