-
Notifications
You must be signed in to change notification settings - Fork 2
Contributing
Loys Caucheteux edited this page Nov 3, 2021
·
5 revisions
- Install the extension in development mode
- The sources are immediatly editables and development mode reloads the extension after each modification, no need to click the 'Reload' button in 'about:debugging'
- Please make sure to follow Firefox's rules on building a cross browser extension and Firefox's addons policy
- To build the .zip/.xpi file use the web-ext npm package.
npm i -g web-ext
- Build command, execute at repository root : Outputs a .zip file of the extension in ./web-ext-artifacts/.
web-ext build
- You can rename the *.zip into a *.xpi file since it is the same format, the extension will not break
- Open
chrome://extensions/
page - Click on
Pack extension
in the top-left corner - Browse your filesystem to your extension folder and select it as the extension root