diff options
Diffstat (limited to 'config.js')
-rw-r--r-- | config.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -8,6 +8,12 @@ try { "ALLOW_LEGACY_EXTENSIONS": true, }; + let manifest = Cc['@mozilla.org/file/directory_service;1'] + .getService(Ci.nsIProperties).get('GreD', Ci.nsIFile); + manifest.append('chrome.manifest'); + Components.manager.QueryInterface(Ci.nsIComponentRegistrar) + .autoRegister(manifest); + const {AddonManager} = Cu.import('resource://gre/modules/AddonManager.jsm'); const {BootstrapLoader} = Cu.import('chrome://legacy/content/BootstrapLoader.jsm'); AddonManager.addExternalExtensionLoader(BootstrapLoader); |