RUN THIS SCRIPT AT YOUR OWN RISK
This is for addons signature expiry of firefox in 2025-03-15. Not recommended unless you understand the security risks.
If you are not running Firefox ESR with xpinstall.signatures.required
set to false
i.e. normal firefox, then you have some steps to follow first to tweak your firefox, your OS's methods may vary:
This script is to be run in firefox developer console.
Works for some newer version (2024+) of firefox, so you may have to tweak as needed for your firefox version e.g. ChromeUtils
to Components
.
- may need to run special developer console
Ctrl-Shift-J
- may need to set
devtools.chrome.enabled
totrue
inabout:config
credits goes to:
- https://www.reddit.com/r/firefox/comments/1jbhi1v/comment/mhv0lst/
- https://news.ycombinator.com/item?id=19824410
Addons may be automaticallly re-verified and re-disabled due to default timer of 24 hours set in the settings.
You may want to find const XPI_SIGNATURE_CHECK_PERIOD = 24 * 60 * 60;
in omni.ja
's ./modules/addons/XPIProvider.jsm
to edit accordingly.
You may also want to look at verifySignatures()
in omni.ja
's ./modules/addons/XPIPDatabase.jsm
You may need to find the files in other locations in different version of firefox.
Some users reported that in certain firefox versions, the edits to omni.ja doesn't work, as there's a precompiled version somewhere.
credits: https://www.reddit.com/r/firefox/comments/1jbhi1v/comment/mi243z7/
RUN THIS SCRIPT AT YOUR OWN RISK