From b6d0fd2cda60196a8228d6fc3b9b330bb1871393 Mon Sep 17 00:00:00 2001 From: girst Date: Mon, 24 Jun 2019 07:36:36 +0200 Subject: initial commit --- config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 config.js (limited to 'config.js') diff --git a/config.js b/config.js new file mode 100644 index 0000000..35e6bbf --- /dev/null +++ b/config.js @@ -0,0 +1,13 @@ +// keep this comment +try { + // monkey-patching to disable signing and force-enable legacy extensions: + let Xdb = Cu.import('resource://gre/modules/addons/XPIDatabase.jsm', {}); + Xdb.XPIDatabase['SIGNED_TYPES'].clear(); + Xdb.AddonSettings = { + "REQUIRE_SIGNING": false, + "LANGPACKS_REQUIRE_SIGNING": false, + "ALLOW_LEGACY_EXTENSIONS": true, + }; + + Cu.import('chrome://legacy/content/boot.jsm'); // engage the bootstrap loader +} catch(ex) {} -- cgit v1.2.3