This is a simple web extension for learning purpose. How to develop, test, package and publish cross-browser extensions.
Extensions can extend and modify the capability of a browser. This extension is built using the WebExtensions API, a cross-browser system for developing extensions.
- Firefox
- Microsoft Edge
- Chromium
- Opera
You need npm or yarn to build the plugin.
$ # Run npm install
$ make init
The extension can be build by webpack and uses the webpack-webextension-plugin.
$ # Run webpack on your code and create the needed files in the folder addon.
$ make source-build
You always can try to load the extension manually in the browser of your choice. You can use web-ext to load the extension for tesing.
$ make moz-run
$ make chrome-run
https://github.com/mdn/webextensions-examples/tree/master/mocha-client-tests
TODO
TODO