Skip to content

openfoodfacts/DriveOFF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DriveOFF

WebExtension for e-stores (drive) using Open Food Facts Database

Compatible Browsers

  • Firefox
  • Chromium
  • Opera
  • Vivaldi
  • Edge (not tested)

Introduction

Works with a few e-commerce websites for now, but using a modular system Adds the following information to the product pages:

  • Nutri-Score (nutritional quality from A to E)
  • Nova group (food processing from 1 to 4)
  • Eco Score (environmental impact from A to E)
  • Nutrient levels
  • Additives
  • Barcode

Get in touch

Changes

  • ES6+ refactor
  • Modular Drive configs
  • Nutri/Nova/Eco Scores widget injection into products header
  • Fallback to search results when product didn't have EAN (disabled)
  • Nutri/Nova/Eco Scores widget injection into catalogues and lists

The extension uses data from Open Food Facts and the barcode generation library jsBarcode

Build

NPM

npm install
npm run-script build

Yarn

yarn
yarn build

Installation

_ DriveOFF is available on the extension stores, but you can also do the installation from the sources._

  • Download the latest release
  • Unzip the archive to the location of your choice

Chromium

  • Launch Chromium, Chrome, Vivaldi or Opera
  • Type in the URL bar chrome://extensions
  • Activate developer mode
  • Click on "Load the unpackaged extension"
  • Select the folder where you unzipped the downloaded release.
  • Enjoy !

Firefox

  • Launch Firefox
  • Type in the URL bar about:debugging#/runtime/this-firefox
  • Click on "Load a temporary add-on ..."
  • Open the manifest.json file in the folder where you unzipped the downloaded release.
  • Enjoy !

List of compatible drives

  • auchan.fr (product pages only)
  • bio.coop (product pages only)
  • carrefour.fr
  • cora.fr
  • intermarche.com
  • leclercdrive.fr

Contributors

List of contributors to this repository