This is a "WebExtension". See https://developer.mozilla.org/Add-ons/WebExtensions/Your_first_WebExtension
Develop through the web-ext run command.
npm run dev
- Upgrade to Firefox 45 or newer
- Visit
about:debugging
- Click "Load Temporary Add-on"
- Click "manifest.json"
If something is wrong, it will silently fail. Try removing the add-on, waiting a few seconds, then re-adding.
More info: https://developer.mozilla.org/docs/Tools/about%3Adebugging#Enabling_add-on_debugging
Also:
- Open new tab.
- Type "about:config".
- Enter "xpinstall.signatures.required" in search bar.
- Modify value to "false" (just click on it).
- Restart Firefox and try install extension again.
The "web-ext" has a command that publishes and signs the extension at the same time. As far as I can tell, there is no way to do these separately. Once a version is published, it cannot be undone, so use with caution.
First update the version (see Places to Update the version).
# This will sign, publish, and update the ./build directory
npm install
npm run sign
Only use this if you need to produce an unsigned xpi. Use "run" for development
npm run build_unsigned
- Changelog.md - update change log
- src/manifest.json - update version
- src/scripts/background.js - update header
- package.json - update header
Copyright Internet Archive, 2016 AGPL-3
- Richard Caceres, @rchrd2
- Greg Lindahl, @wumpus
- Blake Winton, @bwinton, author of https://github.com/bwinton/404archive
- Adam Miller, @adam-miller, author of https://github.com/adam-miller/ChromeNoMore404s