A browser extension that displays carbon footprint information in multiple map services.
To download and install the extension to your favorite browser, visit Carbon Footprint's page in your browser's extension/add-on gallery/store:
- Google Chrome Web Store
- Safari (Coming soon... In the meanwhile, you can download a pre-built beta version from the "Dist" folder, or follow the instructions below to build it yourself.)
- Firefox Add-On Gallery
Node >= 6.0.0npm >= 5.3.0
-
clone this repository
-
run
npm install -
run
num run groupornum run groupFirefoxornum run groupChromeornum run groupSafariornum run groupWebext -
run
num run group:debugornum run groupFirefox:debugornum run groupChrome:debugornum run groupSafari:debugornum run groupWebext:debugto keep all debug statements and comments. -
for chrome, load the unpacked extension from the Build/Chrome folder
-
for firefox, Change directory into
Build/Firefoxand runjpm run -b firefox_edition_name, to use this extension in specific firefox edition (firefoxfor simple firefox browser). -
for WebExtension, Change directory into
Build/WebExtension-Firefox/and than runweb-ext run -f firefox_edition_nameto use this extension in specific firefox edition (firefoxfor simple firefox browser). -
for safari, load folder with extension
.safariextensioninto Extension BuilderDevelop -> Show Extension Builder. To show Develop menu go toSafari -> Preferences -> Advanced. Change extension metadata as required from the Extension Builder. To package the extension for distribution, get an extension certificate from Apple.
- run
npm testto run unit tests. - run
npm eetestto run all E2E tests. - run
npm-noncito run E2E tests for websites which blocks bot or where the extension is not functional - run
npm eetest-cito run E2E tests where extensions and tests are working as expected
If you would like to contribute to the development of this extension, please contact the developers.
- Google Summer of Code grants are available every year. If you would like to apply, it is never too early to contact us.
