diff options
Diffstat (limited to 'config.js')
-rw-r--r-- | config.js | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -9,5 +9,10 @@ try { "ALLOW_LEGACY_EXTENSIONS": true, }; - Cu.import('chrome://legacy/content/boot.jsm'); // engage the bootstrap loader -} catch(ex) {} + // engage the bootstrap loader: + const {AddonManager} = Cu.import('resource://gre/modules/AddonManager.jsm'); + const {BootstrapLoader} = Cu.import('chrome://legacy/content/BootstrapLoader.jsm'); + AddonManager.addExternalExtensionLoader(BootstrapLoader); +} catch(ex) { + Components.utils.reportError(ex.message); +} |