Detailed information about the Add-on can be found on AMO. There's also this long-form article and the project wiki.
- Clone the repository
npm install
npm install -g web-ext
web-ext run -s src
- starts the default system Firefox, loads the Add-on and watches for changes
- append
-p profilename
to start Firefox with a different profile
or
- Open
about:debugging
andLoad Temporary Add-on
which is located in thesrc
directory
Check about:debugging
and click Debug
under Temporary Container to see the console.
- Once:
npm test
- this also shows a coverage summary and generates a detailed report in thecoverage
directory - Watcher:
npm run test-watch
- Bump manifest version
npm run build
- Upload zip web-ext-artifact to AMO
- Download published AMO xpi
- Create and publish GitHub release with AMO xpi
- Add new version with link to the GitHub xpi to
updates.json
- Commit and push
- Set API key/secret env vars
- Bump manifest version as beta
- Commit
npm run build-sign
(Addsupdate_url
to manifest and reverts withgit checkout -- manifest.json
)- Create and publish GitHub pre-release with generated xpi web-ext-artifact
- Add new version with link to GitHub xpi to
updates.json
- Commit and push
The included SemanticUI and its dependency jQuery are awesome and are used for the preferences & popup UI, though not for the background and content script.
- Disabled in "Private Windows" since Firefox doesn't support it
- Android Support is not possible since Firefox doesn't support it
- Mouse Clicks:
- In combination with Multi-Account Containers: Opening the same link multiple times in quick succession will probably not work as expected when the site is set to "Always open in $Container".
- Doesn't work on addons.mozilla.org (Firefox prevents content scripts there). If you assign addons.mozilla.org to "Always open in" with Multi-Account Containers you will see unexpected behavior since Add-ons, including Multi-Account Containers, are not allowed to block requests to addons.mozilla.org.
- In Automatic Mode:
- "No Container" Tab (Alt+N) and Window (Shift+Alt+C) must open about:blank due to Firefox API limitations and thus the address bar can't get focus when opening a new "No Container" tab.
MIT