]> git.gir.st - LegacyFox.git/blob - config.js
initial commit
[LegacyFox.git] / config.js
1 // keep this comment
2 try {
3 // monkey-patching to disable signing and force-enable legacy extensions:
4 let Xdb = Cu.import('resource://gre/modules/addons/XPIDatabase.jsm', {});
5 Xdb.XPIDatabase['SIGNED_TYPES'].clear();
6 Xdb.AddonSettings = {
7 "REQUIRE_SIGNING": false,
8 "LANGPACKS_REQUIRE_SIGNING": false,
9 "ALLOW_LEGACY_EXTENSIONS": true,
10 };
11
12 Cu.import('chrome://legacy/content/boot.jsm'); // engage the bootstrap loader
13 } catch(ex) {}
Imprint / Impressum