Skip to content

Declutter Open Food/Beauty/Pet Food/Products Facts by Freso

Imported and mirrored from https://codeberg.org/Freso/userstyle-declutter-openfoodfacts/raw/branch/main/userstyle-declutter-openfoodfacts.user.css

Details

AuthorFreso

LicenseAGPL-3.0-or-later

Categoryunset

Created

Updated

Code size1.5 kB

Code checksumde2e4ca1

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Various options for removing/reducing clutter on Open Food Facts and related websites

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Declutter Open Food/Beauty/Pet Food/Products Facts
@namespace      https://freso.dk/
@version        2025.05.01.1
@description    Various options for removing/reducing clutter on Open Food Facts and related websites
@author         Freso <https://freso.dk/>
@homepageURL    https://codeberg.org/Freso/userstyle-declutter-openfoodfacts
@supportURL     https://codeberg.org/Freso/userstyle-declutter-openfoodfacts/issues
@license        AGPL-3.0-or-later
@preprocessor   stylus
@var            checkbox match "Hide preference matching card" 0
@var            checkbox report "Hide “Report problem” card" 0
@var            checkbox fundraiser "Hide fundraiser banners" 0
@var            checkbox mobile-app "Hide mobile app related items" 0
@var            checkbox producer "Hide producer site links" 1
==/UserStyle== */

@-moz-document domain("openfoodfacts.org"), domain("openbeautyfacts.org"), domain("openpetfoodfacts.org"), domain("openproductsfacts.org")

  if match
    #match, #prodNav li:has(> a[href="#match"]) {display: none !important;}

  if report
    #report_problem, #prodNav li:has(> a[href="#report_problem"]) {display: none !important;}

  if fundraiser
    .donation-banner, #donation-banner-top, .donation-banner-footer {display: none !important;}

  if mobile-app
    .getapp, #install_the_app_block {display: none !important;}

  if producer
    li:has(> a[href*=".pro.open" i][href*="facts.org" i]) {display: none !important;}

Reviews

No reviews yet.