{"id":19670065,"url":"https://github.com/openfoodfacts/power-user-script","last_synced_at":"2026-03-02T01:30:58.987Z","repository":{"id":44818120,"uuid":"213337872","full_name":"openfoodfacts/power-user-script","owner":"openfoodfacts","description":"User script for your browser, to empower Open Food Facts contribution","archived":false,"fork":false,"pushed_at":"2025-09-24T12:54:18.000Z","size":441,"stargazers_count":13,"open_issues_count":35,"forks_count":5,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-10-13T12:27:24.012Z","etag":null,"topics":["hacktoberfest","javascript","openfoodfacts","userscript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openfoodfacts.png","metadata":{"funding":{"patreon":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"open_collective":"openfoodfacts-server","github":"openfoodfacts","custom":"https://donate.openfoodfacts.org"},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-10-07T09:00:32.000Z","updated_at":"2025-09-24T12:54:20.000Z","dependencies_parsed_at":"2023-02-10T05:16:12.302Z","dependency_job_id":"4a846b49-370d-4940-b33e-22b3ced4f493","html_url":"https://github.com/openfoodfacts/power-user-script","commit_stats":{"total_commits":236,"total_committers":8,"mean_commits":29.5,"dds":0.5,"last_synced_commit":"3472b96e3fbf158374065e1152360cf5fc2b20b8"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/openfoodfacts/power-user-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfoodfacts%2Fpower-user-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfoodfacts%2Fpower-user-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfoodfacts%2Fpower-user-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfoodfacts%2Fpower-user-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openfoodfacts","download_url":"https://codeload.github.com/openfoodfacts/power-user-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfoodfacts%2Fpower-user-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29989013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T22:42:38.399Z","status":"ssl_error","status_checked_at":"2026-03-01T22:41:51.863Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","javascript","openfoodfacts","userscript"],"created_at":"2024-11-11T17:03:57.031Z","updated_at":"2026-03-02T01:30:58.975Z","avatar_url":"https://github.com/openfoodfacts.png","language":"JavaScript","funding_links":["https://opencollective.com/openfoodfacts-server","https://github.com/sponsors/openfoodfacts","https://donate.openfoodfacts.org"],"categories":[],"sub_categories":[],"readme":"# power-user-script\nUser script for your browser, to empower [Open Food Facts](https://world.openfoodfacts.org/)  contribution. Power User Script is a kind of laboratory, to explore new features before they can get into Open Food Facts.\n\nSome features:\n* keyboard shortcuts to different pages: product edition (e), product JSON (a), view mode (v), etc.\n* styling improvements via CSS: barcode highlighted, fields highlighted, etc.\n* show/hide barcode\n* show/hide helpers\n* sidebar quick links: page translation, category translation, Recent Changes, Hunger Game...\n* inline edit of ingredients\n* information enhancements beside barcode number: links to Google search, Open Beauty Facts, etc.\n* information enhancements in the confirmation page: product issues, going further, etc.\n* recent changes filter (filter as you type)\n* etc. See complete list in the \"changelog\" or directly in JS code\n\n# Install\nTo run userscripts it's best to have a script manager installed. Userscript managers are available as browser extensions:\n\n* Greasemonkey  – works with Firefox - https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/\n* Tampermonkey  – works with Chrome, Safari, Firefox and other browsers - http://tampermonkey.net/\n\nChoose an appropriate manager and install it according to the requirements of your browser.\n\nOnce your script manager is installed you can go to https://github.com/openfoodfacts/power-user-script/blob/master/OpenFoodFactsPower.user.js\n\nJust click on the Raw button and your script manager will ask you if you want to install the script.\n\n# Changelog\n### 2026-02-06T14:26\n* Added \"u\" option in edit mode: open a product in https://us.openfoodfacts.org to get standard US nutrition table\n### 2026-02-02T18:36\n* Exclude Superset.\n### 2025-09-24T14:47\n* Exclude Nutripatrol.\n### 2025-09-08T18:19\n* Following last version, quick fix for textarea.\n### 2025-09-05T13:42\n* Fix conflict with Folksonomy Engine form when typing some keys such as `e` or `a`, which are shortcuts in Power User Script\n### 2025-06-17T18:50\n* Now using Open Food Facts' API v2 (no functionnal change)\n* Include link to Open Prices on product pages\n* Remove old code related to OxF duplicates, not useful anymore (technical debt)\n### 2024-12-20T11:15\n* Fix moving products to OPF, OBF, OPFF\n### 2024-08-27T19:25\n* Exclude search.openfoodfacts.org\n### 2024-06-19T14:18\n* Exclude prices.openfoodfacts.org\n* Fix kJ/kcal ratio to 4.2 instead of 4.4\n### 2024-02-02T20:39\n* Product list: rotate images\n### 2024-01-03T13:20\n* Search as you type to filter changes. Useful for many cases:\n  * find **add**itions or **change**s\n  * monitor changes for specific fields\n  * monitor changes from specific users\n### 2024-01-03T11:20\n* Products' list: add button to each product to open Hunger Game\n### 2023-12-22T10:15\n* Add option to display barcodes by default\n### 2023-09-15T22:59\n* Edit mode: compute and display energy in real-time\n### 2023-09-13T23:00\n* Let panels use less space\n### 2023-08-24T18:56\n* Add \"History\" anchor in the nav bar\n* Check serving size field\n* Colorize icon ⇅ when kJ/kcal values are not coherent (ratio is displayed inside ⇅ tooltip)\n* Small UI improvements (smaller fixed validation bar)\n* Better organization of the code; more code in vanilla JS (faster and less dependant from libraries)\n### 2023-05-04T23:39\n* Button ⇅ to reverse kj/kcal\n* \"No quality errors\" is back\n### 2023-03-20T12:38\n* Hack to prevent product opener regression in saved-product page\n### 2022-12-22T15:30\n* Distraction free mode: Open Food Facts top bar is hidden. Option to check or uncheck (by default) in the settings.\n* The nutrition facts form has many improvements: now fits in one screen on a HD display at 100%.\n### 2022-12-19T08:20\n* fix nutrition image size on Chrome and Safari\n### 2022-12-08T08:20\n* Delete hunger games links which are now in Product Opener.\n* CSS tweaks:\n  * nutrition facts table more condensed\n  * products issues are well displayed\n### 2022-10-19T15:11\n* Categories, brands and labels' facets: added Hunger Game deep link as a button right after the title\n* Edition:\n  * Quick and dirty hack to control and manage kj/kcal inversion\n  * Control fiber field\n* Remove \"edit\" button feature in list mode (added in Product Opener)\n* Fix some regressions due to Open Food Facts redesign of 2022-10\n### 2021-12-06T13:55\n* Add a deep link to Hunger Game for brand on product's page\n### 2021-10-20T16:31\n* Add \"n\" keyboard shortcut in list mode to reload the list without cache (\u0026nocache=1 parameter)\n### 2021-03-30T02:36\n* Add -\u003eOPetFF button in list mode (to move products to Open Pet Food Facts), and improve error handling\n### 2021-03-26T10:48\n* Add -\u003eOPF button in list mode (to move products to Open Products Facts)\n* Recent changes link displays 100# instead of 900#\n### 2021-03-25T18:18\n* Exclude https://analytics.openfoodfacts.org/\n### 2021-03-21T20:44\n* Fix product list view tweaks to work with new layout\n### 2020-12-12T16:32\n* Exclude https://support.openffodfacts.org\n### 2020-10-29T18:00\n* Add graphical barcodes to list view (shift-B) (Issue #26)\n### 2020-10-17T08:30\n* Add option to set ingredient textareas to fixed width font, to make it easier to see bad OCR, such as when it confuses \"m\" and \"rn\" (e.g. corn), lowercase l/L and uppercase i/I, letter O with number 0, etc.\n### 2020-10-15T08:35\n* minor fixes and code tidying\n### 2020-10-14T11:53\n* fixes from @svensven (thanks!)\n* Categorization opportunities link\n* Add DuckDuckGo link for product barcode (near the barcode)\n### 2020-06-26T16:33\n* Deep link to Hunger Game when the page is related to a category, label or brand\n* exclude wiki pages from script\n### 2020-05-04T10:39\n* Modify link to hunger game\n* Nutrition facts picture takes all the place available: should work for every modern browser (CSS3)\n* very small update, the \"a\" key now opens the json page in a new window (instead of Alt+Shift+A)\n### 2020-04-17T14:33\n* Confirmation page: quality errors and quality warnings displayed in red (or green when it's all right)\n* Google Link for product barcode (near the barcode)\n* Link to Open Pet Food Facts (near the barcode)\n* Firefox: Nutrition facts picture takes all the place available\n### 2020-04-11T17:26\n* Add openbeautyfacts.org link and its status code (200 = the product exists; 404 it doesn't)\n* Add .pro.openffodfacts.org link (status code isn't working)\n* Add \"ingredient mode\" to simplify ingredients management =\u003e (\"i\" key in \"edit\" mode)\n* Developper: console.log messages more clear\n### 2020-03-24TT11:12\n* Add a field to filter Recent Changes results (filter as you type)\n### 2020-01-09T16:54\n* Add version date to flag feature\n### 2019-12-16T17:27\n* Add Hunger Game link\n* Various fixes\n### 2019-12-09T18:34\n* Change \"?\" menu position\n### 2019-12-04T15:15\n* Edit mode: show/hide field help comments\n### 2019-11-22T08:33\n* flagging improvement \n  * allow flagging on page which is not a revision\n  * add product_improvement\n* reorganize menu and add separators\n### 2019-11-19T11:40\n* Detect pro platform + add product public URL\n### 2019-11-18T16:54\n* Add quick links in the sidebar\n* Refactor help box\n### 2019-11-04T09:33\n* change @updateURL to https://github.com/openfoodfacts/power-user-script/raw/master/OpenFoodFactsPower.user.js\n* comment code made for easier to read number of products because of https://github.com/openfoodfacts/openfoodfacts-server/issues/2474\n### 2019-10-23T13:42\n* number of products easier to read (with separators depending on your locale); see: https://github.com/openfoodfacts/openfoodfacts-server/issues/2474\n### 2019-09-12T16:45\n* initial publication on this current Github repo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenfoodfacts%2Fpower-user-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenfoodfacts%2Fpower-user-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenfoodfacts%2Fpower-user-script/lists"}