Created
February 18, 2024 22:03
-
-
Save thoughtsunificator/a2badbfa766c5c60cbd35045f726fb65 to your computer and use it in GitHub Desktop.
Allow installing of unsigned web extensions in Firefox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let { XPIDatabase } = ChromeUtils.import('resource://gre/modules/addons/XPIDatabase.jsm', {}); | |
XPIDatabase.isDisabledLegacy = (addon) => false; | |
XPIDatabase.mustSign = (aType) => false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script is meant to be run the browser console.
Tested on Linux with Firefox 122.0.1.