This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 1 reply
  • 1 has this problem
  • 13 views
  • Last reply by 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?

Modified by ubu.zen

Chosen solution

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

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

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