Skip to content

Commit

Permalink
Add instructions on how to enable addons manually using console
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Vallat committed Aug 2, 2023
1 parent 17fab6c commit 6156694
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@

7. Restart Firefox.

8. To enable any extensions, go to **about:addons** and open a developer console. For each addon to enable, paste into the console:
```
var ad = (await AddonManager.getAddonByID("[email protected]"));
ad.__AddonInternal__.signedState = AddonManager.SIGNEDSTATE_NOT_REQUIRED;
ad.__AddonInternal__.appDisabled = false;
ad.disable();
ad.enable();
```
Replacing `[email protected]` with the addon id you want to enable. If you don't know it, Copy Link on the addon name in about:addons, their
id is the bit after `addons://detail/`.


¹: Not all scripts are restartless. These have `@shutdown` at the beginning of the code. Almost all scripts on this page were written by me to be restartless, but almost all scripts you get from other sources are not.

## userChromeJS scripts
Expand Down

0 comments on commit 6156694

Please sign in to comment.