We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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 ».

En savoir plus

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/