internetarchive / wayback-machine-firefox

Reduce annoying 404 pages by automatically checking for an archived copy in the Wayback Machine. Learn more about this Test Pilot experiment at https://testpilot.firefox.com/
GNU Affero General Public License v3.0
53 stars 17 forks source link

No More 404s Build Status devDependencies Status

Developing

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

How to load a zip or xpi file directly into Firefox

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:

  1. Open new tab.
  2. Type "about:config".
  3. Enter "xpinstall.signatures.required" in search bar.
  4. Modify value to "false" (just click on it).
  5. Restart Firefox and try install extension again.

Publishing & Signing

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

Building an unsigned extension

Only use this if you need to produce an unsigned xpi. Use "run" for development

npm run build_unsigned

Places to update the version

License

Copyright Internet Archive, 2016 AGPL-3

Credits