Carbon Footprint for Google Maps
A browser extension that displays carbon footprint information in multiple map services.
Downloading and Using the Latest Stable Version
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
Minimum Node Requirements
Node >= 6.0.0
npm >= 5.3.0
Building and Using Beta Versions
-
clone this repository
-
run
npm install
-
run
num run group
ornum run groupFirefox
ornum run groupChrome
ornum run groupSafari
ornum run groupWebext
-
run
num run group:debug
ornum run groupFirefox:debug
ornum run groupChrome:debug
ornum run groupSafari:debug
ornum run groupWebext:debug
to keep all debug statements and comments. -
for chrome, load the unpacked extension from the Build/Chrome folder
-
for firefox, Change directory into
Build/Firefox
and runjpm run -b firefox_edition_name
, to use this extension in specific firefox edition (firefox
for simple firefox browser). -
for WebExtension, Change directory into
Build/WebExtension-Firefox/
and than runweb-ext run -f firefox_edition_name
to use this extension in specific firefox edition (firefox
for simple firefox browser). -
for safari, load folder with extension
.safariextension
into 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.
Testing
- run
npm test
to run unit tests. - run
npm eetest
to run all E2E tests. - run
npm-nonci
to run E2E tests for websites which blocks bot or where the extension is not functional - run
npm eetest-ci
to run E2E tests where extensions and tests are working as expected
Licenses
Contributions
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.