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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Dark Mode on Unwanted Websites

  • 1 baphendule
  • 1 inale nkinga
  • 1 view
  • Igcine ukuphendulwa ngu cor-el

more options

Before I made Firefox my default browser, I used private browsing on Firefox with dark mode enabled and was able to have the address bar/tabs/toolbar dark while all other websites I used were still in their default mode (for example, Twitter would always come up in light mode). After I changed Firefox to my default browser (or possibly after an update?), whenever I pull up Twitter, Google, YouTube, etc., they come up in dark mode instead of the default. Is there a way to keep the address bar in dark mode while still pulling up websites in light mode/default settings without having to manually change it every time?

Before I made Firefox my default browser, I used private browsing on Firefox with dark mode enabled and was able to have the address bar/tabs/toolbar dark while all other websites I used were still in their default mode (for example, Twitter would always come up in light mode). After I changed Firefox to my default browser (or possibly after an update?), whenever I pull up Twitter, Google, YouTube, etc., they come up in dark mode instead of the default. Is there a way to keep the address bar in dark mode while still pulling up websites in light mode/default settings without having to manually change it every time?
Ama-screenshot ananyekiwe

Isisombululo esikhethiwe

You can change this pref on the about:config page from 3 to 2 to revert to the Firefox 94 behavior.

  • layout.css.prefers-color-scheme.content-override
    Dark (0), light (1), system (2) or browser (3)

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

See also this pref:

  • ui.systemUsesDarkTheme [0:light; 1:dark; 2:no-preference]
Funda le mpendulo ngokuhambisana nalesi sihloko 👍 1

All Replies (1)

more options

Isisombululo Esikhethiwe

You can change this pref on the about:config page from 3 to 2 to revert to the Firefox 94 behavior.

  • layout.css.prefers-color-scheme.content-override
    Dark (0), light (1), system (2) or browser (3)

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

See also this pref:

  • ui.systemUsesDarkTheme [0:light; 1:dark; 2:no-preference]