Multi-Account Containers
The Firefox Multi-Account Containers extension lets you carve out a separate box for each of your online lives – no more opening a different browser just to check your work email! Learn More Here
Available on addons.mozilla.org
For more info, see:
Requirements
- node 7+ (for jpm)
- Firefox 57+
Development
Running Locally
Via WebExtensions API (web-ext)
- Install the web-ext tool.
- Run
web-ext run -s src/
. This launches Firefox and installs the extension automatically.
This tool provides some additional development features, such as automatic reloading.
Via about:debugging in Firefox
- Open the
about:debugging
page in Firefox. - Click on
This Firefox
. - Click on Load Temporary Add-on.
- Select
src/manifest.json
.
Here is a video that demonstrates how to do this.
Testing
-
Install dependencies:
npm install
-
Run all tests:
npm run test
-
Only run the linter:
npm run lint
There is a timeout test that sometimes fails on certain machines, so make sure to run the tests on your clone before you make any changes to see if you have this problem.
Distributing
Make the new version
- Bump the version number in
package.json
andmanifest.json
- Commit the version number bump
- Create a git tag for the version:
git tag <version>
- Push the tag up to GitHub:
git push --tags
Publish to AMO
npm run-script build
- Upload the
.zip
to AMO
Publish to GitHub
Finally, we also publish the release to GitHub for those followers.
- Download the signed
.xpi
from the addon versions page - Make the new release on
GitHub
- Use the version number for "Tag version" and "Release title"
- Release notes: copy the output of
git log --no-merges --pretty=format:"%h %s" <previous-version>..<new-version>
- Attach binaries: select the signed
.xpi
file
Links
Facebook & Twitter icons CC-Attrib https://fairheadcreative.com.