Chrome extension that reveals the true environmental cost of products on Amazon — carbon emissions, water usage, energy consumption, and waste — right on the product page.
Originally built at the 2016 CleanWeb Hackathon, fully modernized for Manifest V3 in 2026.
- 🌿 Impact Card — injected directly into Amazon product pages near "Add to Cart"
- 📊 38+ products across 10 categories (shoes, electronics, clothing, furniture, single-use items, etc.)
- ♻️ Category fallback — shows estimated impact for products not in the database
- 📈 Dashboard popup — tracks cumulative environmental impact with bar chart visualization
- 📜 Product history — timestamped log of every product you've viewed
- ⭐ Eco alternatives — suggests greener products in the same category with % impact reduction
- 🌍 16 Amazon regions — works on amazon.com, .co.uk, .ca, .de, .fr, .it, .es, .co.jp, .in, .com.br, .com.au, .com.mx, .nl, .sg, .se, .pl
- ⚙️ Options page — toggle individual impact categories and configure history length
- 🎚️ Enable/disable toggle — turn the overlay on or off from the popup
- 💚 Donate checkbox — opt-in to offset your environmental impact
- Clone this repository:
git clone https://github.com/truecost4env/truecost-chrome-extension.git
- Open Chrome and go to
chrome://extensions - Enable Developer mode (toggle in top-right)
- Click Load unpacked and select the
truecost-chrome-extensiondirectory - Browse any product on amazon.com — the impact card will appear!
- Go to any product page on amazon.com
- Scroll to the "Add to Cart" section — a TrueCost impact card will appear just below it
- The card shows the product's environmental footprint:
- ☁️ Carbon — greenhouse gas emissions (kgCO₂e)
- ⚡ Energy — energy consumed during manufacturing (MJ)
- 💧 Water — water used in production (Liters)
- 🗑️ Waste — solid waste generated (Kg)
- 🌀 Ozone — ozone-depleting substances (kgNMVOCe)
- If the exact product is in our database, you'll see precise data. Otherwise, you'll see a category-level estimate (marked with an "Estimate" badge)
- Each impact card includes a donation checkbox (checked by default)
- The suggested donation amount covers the estimated cost to offset that product's environmental footprint
- Uncheck the box if you'd prefer not to donate for that product
- Click the TrueCost icon in your Chrome toolbar to open the dashboard
- View your cumulative stats — total carbon, water, waste, and energy across all products you've browsed
- See how many products you've viewed and your total offset donation amount
- Toggle the extension on/off using the switch in the top-right corner
- Click Reset Stats to clear your cumulative tracking data
- The extension automatically detects when you navigate to a new product page (including Amazon's single-page navigation) and updates the impact card accordingly
truecost-chrome-extension/
├── manifest.json # Manifest V3 extension config
├── LICENSE # MIT license
├── icons/ # Extension icons (16, 48, 128px)
├── data/
│ └── products.js # Product database + category estimates
├── src/
│ ├── content.js # Content script (impact card + alternatives)
│ ├── content.css # Impact card + alternatives styles
│ ├── data.js # Product lookup module
│ └── background.js # Service worker (stats + history)
├── popup/
│ ├── popup.html # Dashboard popup (tabs, chart, history)
│ ├── popup.css # Popup styles
│ └── popup.js # Popup logic
└── options/
├── options.html # Settings page
├── options.css # Settings styles
└── options.js # Settings logic
Environmental footprint data is sourced from manufacturer sustainability reports including Nike, Dell, HP, Apple, Samsung, and Levi Strauss, as well as the EU Product Environmental Footprint (PEF) methodology.
MIT
