Description: Mozilla Extension to display on the navbar the ecoIndex score of the page.
The extension call the ecoIndex Api to get the score displayed on the nav bar.
More information about the EcoIndex API here
- download the repository
- open your browser and go to
about:debugging#/runtime/this-firefox
- click on button :
load temporary extension firefox
- select the manifest.json located in the EcoSurfAnalyser folder
On each website the user goes. The extension get the url and ask ecoIndex API if an analysis has been made recently.
- If so the extention return the score from
A
toG
visible on the navbar.A
meaning a small carbon foodprint impact andG
a significant carbon foodprint. - If no data were collected, the extension ask EcoIndex API to measure the website. Following an heuristic strategy, EcoSurf Analyser will try again to contact the server to fetch data based on the original url.
As mention above, the EcoIndex API
If you found a bug, please open a issue (please search first if the bug is already mention on an existing issue).
Feel free to contribute by creating a pull request