From d1c80010b1fb1e352fb8754ace534e8dbe8cf954 Mon Sep 17 00:00:00 2001 From: girst Date: Tue, 9 Jul 2019 22:06:56 +0200 Subject: switch to resource:// protocol bring the patch closer to the then-upstream comm-central. might have the negative side-effect of being detectable by websites according to: https://developer.mozilla.org/en-US/docs/Mozilla/Chrome_Registration --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.js') diff --git a/config.js b/config.js index 2514b7b..98e6a6f 100644 --- a/config.js +++ b/config.js @@ -13,7 +13,7 @@ try { .autoRegister(FileUtils.getFile('GreD', ['legacy.manifest'])); const {AddonManager} = Cu.import('resource://gre/modules/AddonManager.jsm'); - const {BootstrapLoader} = Cu.import('chrome://legacy/content/BootstrapLoader.jsm'); + const {BootstrapLoader} = Cu.import('resource://legacy/BootstrapLoader.jsm'); AddonManager.addExternalExtensionLoader(BootstrapLoader); } catch(ex) { Components.utils.reportError(ex.message); -- cgit v1.2.3