diff options
author | girst <girst@users.noreply.github.com> | 2020-09-24 14:03:38 +0200 |
---|---|---|
committer | girst <girst@users.noreply.github.com> | 2020-09-24 17:18:29 +0200 |
commit | 022cf6d431c587739752c9801937f98dd8b567e5 (patch) | |
tree | 3c7af7efcad4a3708367f2373542468d30f4d8e2 | |
parent | 0d457a3fb04837f1b51e83f04b5b8a9b2b742904 (diff) | |
download | legacywolf-022cf6d431c587739752c9801937f98dd8b567e5.tar.gz legacywolf-022cf6d431c587739752c9801937f98dd8b567e5.zip |
don't prevent unsigned addon warning to not break some addons
This broke installing some, but not all, addons. The reason is that some
addons derive their addon-id from a certificate's CommonName in
XPIInstall.jsm::loadManifest(aPackage, aLocation, aOldAddon)
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | config.js | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,8 @@ Monkeypatching Firefox Quantum to run VimFx 2. Install VimFx from https://github.com/akhodakivskiy/VimFx/releases == Notes == + * set `xpinstall.signatures.required;false` to downgrade the error message + that unsigned addons were supposedly disabled in about:config to a warning. * Users of firefox-esr on debian need to use the following command: `make DESTDIR=/usr/lib/firefox-esr install` * BootstrapLoader.jsm, RDFDataSource.jsm, RDFManifestConverter.jsm from their @@ -2,7 +2,6 @@ try { let Xdb = Cu.import('resource://gre/modules/addons/XPIDatabase.jsm', {}); Xdb.XPIDatabase.isDisabledLegacy = (addon) => false; - Xdb.XPIDatabase['SIGNED_TYPES'].clear(); Xdb.AddonSettings = { ...Object.fromEntries(Object.getOwnPropertyNames(Xdb.AddonSettings) .map(e => [e, Xdb.AddonSettings[e]])), |