- Download and install Node.js and npm for your platform
- Install editorconfig for your favourite text editor
- Fork this repository
- Clone your fork locally
- In your local copy, install the project dependencies with
npm install
Load your clone's src/ directory as a temporary addon:
- Firefox: Loading a temporary extension
- Chromium: Load an unpacked extension
If you make changes, be sure to reload the temporary addon.
npm start: Run your local copy of the addon (seeweb-ext run).npm test: Runs all linters. Will report any syntax or style errors.npm test --ignore-scripts: Runs only the addon linter. Only reports syntax and WebExtension API errors.npm run autofix: Automatically fixes any style errors.npm run build: Creates an unsigned ZIP of the addon.
This project's JavaScript style is enforced by linting. Use npm run autofix to format your code prior to commit.