xiaoxiaoflood / firefox-scripts

userChromeJS / autoconfig.js and extensions
Mozilla Public License 2.0
1.06k stars 88 forks source link

Now addons from Firefox Add-ons can't be installed with extension signature check disabled under mozilla's new practice! #310

Closed 117649 closed 3 months ago

117649 commented 3 months ago

@xiaoxiaoflood Looks like you're back from dead! Is that real? If its true that's very good!

Back to the business, In short we found Mozilla no longer include decoded extension id in the .xpi files on their add-ons site. The id have to be decoded from signature when its been checked. This effectively prevent add-ons from Mozilla been installed with extension signature check disabled by user. So the scripts have to be update accordingly.

Here is how we first found this out: https://github.com/onemen/TabMixPlus/discussions/292 https://github.com/onemen/firefox-scripts/pull/1#pullrequestreview-2040168616

Here are the files I have updated myself which have been worked for me so far. Please use these as a reference. config.js.txt RDFManifestConverter.sys.mjs.txt BootstrapLoader.jsm.txt RDFDataSource.sys.mjs.txt

xiaoxiaoflood commented 3 months ago

Hi, @117649.

Thank you for reaching out and for providing the fix. I commited your changes with very minor changes. Please let me know if there's still something to be done.

117649 commented 3 months ago

If you've tested the files are working then nothing else so far.

117649 commented 3 months ago

I'm closing this as it should be consider fixed at this point. If anything, reopen.