forked from xiaoxiaoflood/firefox-scripts
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions on how to enable addons manually using console
- Loading branch information
Alex Vallat
committed
Aug 2, 2023
1 parent
17fab6c
commit 6156694
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|