Skip to content

Instantly share code, notes, and snippets.

@thoughtsunificator
Created February 18, 2024 22:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thoughtsunificator/a2badbfa766c5c60cbd35045f726fb65 to your computer and use it in GitHub Desktop.
Save thoughtsunificator/a2badbfa766c5c60cbd35045f726fb65 to your computer and use it in GitHub Desktop.
Allow installing of unsigned web extensions in Firefox
let { XPIDatabase } = ChromeUtils.import('resource://gre/modules/addons/XPIDatabase.jsm', {});
XPIDatabase.isDisabledLegacy = (addon) => false;
XPIDatabase.mustSign = (aType) => false;
@thoughtsunificator
Copy link
Author

This script is meant to be run the browser console.

Tested on Linux with Firefox 122.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment