The Green Web web-extension
The Green Web Addon
Tested on Chrome, Brave, Opera and Firefox
Should also work on other browsers with web-extensions support like Edge (not tested yet)
Usage
Want to use this extension, install it from the browser webstores :
For Chrome, Brave:
https://chrome.google.com/webstore/detail/the-green-web/ekiibapogjgmlhlhpoalbppfhhgkcogc
For Firefox:
https://addons.mozilla.org/nl/firefox/addon/the-green-web/
For Opera:
https://addons.opera.com/nl/extensions/details/the-green-web/
Want to help?
Development on Chrome
- git clone git@github.com:thegreenwebfoundation/web-extension.git
- Open Chrome, click Extra -> Extensions and click on Developer Mode
- Use "Load unpacked extension" to load this directory
- Make your changes, test them out (use ctrl+r in the extension screen to reload)
- Happy with the changes? Do a commit and make a pull request
Development on Brave
- git clone git@github.com:thegreenwebfoundation/web-extension.git
- Navigate to
brave://extensions
and toggle on Developer Mode
- Follow the same steps as for Chrome
Development on Firefox
- git clone git@github.com:thegreenwebfoundation/web-extension.git
- Install web-ext (npm install -g web-ext)
- Run
web-ext run
inside the thegreenweb/
folder
- Make your changes, test them out (use ctrl+r in the terminal where web-ext is running to reload)
- Happy with the changes? Do a commit and make a pull request
Development on Opera
- See steps from Chrome but use Opera instead
Publishing hints
Chrome
- After step 5 of the chrome development above, zip up thegreenweb directory into thegreenweb.zip
- login on the chrome webstore developer console : https://chrome.google.com/u/3/webstore/devconsole
- Go to the thegreenweb item and upload a new package and click on publish.
- it might complain about extended permissions, for now we run this on every website so we need broad host permissions.
Just click submit for review/publish.
Firefox
- after step 5 of the firefox development above, run
web-ext build' inside the
thegreenweb/` folder
- This will create a file in
thegreenweb/web-ext-artifacts
named the_green_web-x.x.x.zip
where x.x.x is the version number in the manifest.json file
- Login to the addons.mozilla.org page and go to our addon to sumbit a new version
- add some version details and then click submit so they can review it.
Opera
- After step 5, launch opera and click pack extension. Get the private key from AJ
- Submit this crx to the opera webstore at https://addons.opera.com/developer/package/133065/
Found a bug?
- Make an issue on this repository and we'll look into it
Credits
This project uses the Chrome Web Store Sketch assets template, by Jean Francois Goncalves.