Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

How to target / change Firefox's main content pane?

  • 1 réponse
  • 1 a ce problème
  • 13 vues
  • Dernière réponse par TyDraniu

more options

I would like to target the whole of the main content pane in Firefox in order to overlay a visual filter on top of it.

Although websites can be altered with scripts and Firefox offers colour options in its preferences, these are imperfect workarounds that only target specific elements of the websites. Instead, I would like to overlay a translucent filter over the main content pane itself that would allow me to control the appearance (dimness, saturation, contrast) of the entire main content pane rather than individual elements of a website.

How would I do that? Which files, which code snippets?

I would like to target the whole of the main content pane in Firefox in order to overlay a visual filter on top of it. Although websites can be altered with scripts and Firefox offers colour options in its preferences, these are imperfect workarounds that only target specific elements of the websites. Instead, I would like to overlay a translucent filter over the main content pane itself that would allow me to control the appearance (dimness, saturation, contrast) of the entire main content pane rather than individual elements of a website. How would I do that? Which files, which code snippets?

Modifié le par ubu.zen

Solution choisie

Toutes les réponses (1)

more options

Solution choisie

Hi, it's better to ask about it here: https://www.reddit.com/r/FirefoxCSS/