Editing Tools
If you are a frequent contributor, you may want to use tools that helps improving the impact of your edits.
Remember still that with greater power comes greater responsibility. Do not hesitate to dialog with other contributors (on slack or forum in case of doubt).
Tools that speed up edits
Open Food Facts Power User Extension
(A better name should be found, suggestions are welcome. Suggestion: Open Food Facts Moderator Extension?)
This extension helps power users with keyboard shortcuts and some functionalities that are not (yet) in Open Food Facts. It's a kind of sandbox to test new functionalities: if those ones are appreciated, we could add it to Open Food Facts website.
Installation
You first need to install an application that manages userscripts on your browser:
- either Greasemonkey for Firefox
- or Tampermonkey (recommended) for Firefox and Chrome.
Then you can install Open Food Facts Power User Extension, by simply clicking on this link: https://github.com/openfoodfacts/power-user-script/raw/master/OpenFoodFactsPower.user.js. Tampermonkey will prompt you to install or update the extension: just click on Install or Reinstall button. VoilĂ !
Usage
To use it, you must be on a Open Food Facts website page. To know if the extension is working you should see a red square with a "?" fixed on top of the window. All features are explained thanks to the helper box: you can access it by cliking on the "?" or typing "?" or "h" keys.
Main features
// * DESIGN (custom CSS with small improvements) // * barcode highlighted with a sweet color // * better distinguished sections // * fields highlighted, current field highlighted // * less margins for some elements // * FEATURES // * help screen called with button [?] or keyboard shortcut (?) or (h) // * zoom every images with mouse wheel; see http://www.jacklmoore.com/zoom/ // * [beta] transfert data from a language to another (use *very* carefully); keyboard shortcut (shift+T) // * [alpha] allow flagging products for later review (shift+S) // * https://github.com/openfoodfacts/openfoodfacts-server/issues/1408 // * Ask charles@openfoodfacts.org // * show/hide barcode; keyboard shortcut (shift+B) // * see https://github.com/openfoodfacts/openfoodfacts-server/issues/1728 // * keyboard shortcut to API product page (alt+shift+A) // * keyboard shortcut to enter edit mode: (e) in the current window, (E) in a new window // * see Add "Edit" keyboard shortcut for logged users: https://github.com/openfoodfacts/openfoodfacts-server/issues/1852 // * keyboard shortcuts to help modify data without a mouse: P(roduct), Q(uality), B(rands), C(ategories), L(abels), I(ngredients), (e)N(ergy), F(ibers) // * launch Google OCR if "Edit ingredients" is clicked in view mode // * DEPLOYMENT // * Tampermonkey suggest to update the extension when one click to updateURL: // https://gist.github.com/CharlesNepote/f6c675dce53830757854141c7ba769fc/raw/OpenFoodFactsPowerUser.user.js
MassEdit
- This is a powerful tool. Please get in touch in the #contributors channel if you'd like to use it.