diff --git a/bootstrap.js b/bootstrap.js index c848b01..d41c7ba 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -12,6 +12,7 @@ let {classes:Cc,interfaces:Ci,utils:Cu,results:Cr} = Components,addon; Cu.import("resource://gre/modules/Services.jsm"); +Cu.import("resource://gre/modules/XPCOMUtils.jsm"); function rsc(n) 'resource://' + addon.tag + '/' + n; function LOG(m) addon.debug && (m = addon.name + ' Message @ ' @@ -403,7 +404,14 @@ function setFavicon(uri, cell) { }); } -try{const{CustomizableUI:aUI}=Cu.import("resource:///modules/CustomizableUI.jsm",{})}catch(e){} +XPCOMUtils.defineLazyGetter(this, 'aUI', function() { + if (3!=ia) try { + var { CustomizableUI } = Cu.import('resource:///modules/CustomizableUI.jsm', {}); + } catch(e) { + Cu.reportError(e); + } + return typeof CustomizableUI !== 'undefined' && CustomizableUI; +}); function loadIntoWindow(window) { if(wt!=window.document.documentElement.getAttribute("windowtype")) diff --git a/install.rdf b/install.rdf index 393a4b3..b7ebfba 100644 --- a/install.rdf +++ b/install.rdf @@ -4,8 +4,9 @@ {158d7cb3-7039-4a75-8e0b-3bd0a464edd2} 2 Clean Links - 2.7a2 + 2.7 Diego Casorran + Eduard Braun Simon Chan Converts obfuscated/nested links to genuine clean links true @@ -46,7 +47,7 @@ {ec8030f7-c20a-464f-9b0e-13a3a9e97384} 22.0 - 35.* + 36.* @@ -70,7 +71,7 @@ {aa3c5121-dab2-40e2-81ca-7ea25febc110} 22.0 - 34.* + 36.*