搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Dark Mode on Unwanted Websites

  • 1 个回答
  • 1 人有此问题
  • 14 次查看
  • 最后回复者为 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?
已附加屏幕截图

被采纳的解决方案

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]
定位到答案原位置 👍 1

所有回复 (1)

more options

选择的解决方案

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]