Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Dark Mode on Unwanted Websites

  • 1 отговор
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от 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]