summaryrefslogtreecommitdiff
path: root/legacy/boot.jsm
diff options
context:
space:
mode:
authorgirst <girst@users.noreply.github.com>2019-06-24 07:36:36 +0200
committergirst <girst@users.noreply.github.com>2019-06-24 08:05:23 +0200
commitb6d0fd2cda60196a8228d6fc3b9b330bb1871393 (patch)
tree5a709413f504a962a41f427a16e17fdf5c26efbb /legacy/boot.jsm
downloadlegacywolf-b6d0fd2cda60196a8228d6fc3b9b330bb1871393.tar.gz
legacywolf-b6d0fd2cda60196a8228d6fc3b9b330bb1871393.zip
initial commit
Diffstat (limited to 'legacy/boot.jsm')
-rw-r--r--legacy/boot.jsm7
1 files changed, 7 insertions, 0 deletions
diff --git a/legacy/boot.jsm b/legacy/boot.jsm
new file mode 100644
index 0000000..f1cae49
--- /dev/null
+++ b/legacy/boot.jsm
@@ -0,0 +1,7 @@
+let EXPORTED_SYMBOLS = [];
+
+const {AddonManager} = ChromeUtils.import('resource://gre/modules/AddonManager.jsm');
+if (AddonManager.addExternalExtensionLoader) {
+ const {BootstrapLoader} = ChromeUtils.import('chrome://legacy/content/BootstrapLoader.jsm');
+ AddonManager.addExternalExtensionLoader(BootstrapLoader);
+}