Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

cannot disable dark mode without changing theme

  • 4 ответа
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от trav

more options

Hi. I'd like to have websites display as light mode but use a dark theme in Firefox. However, depending on if I'm using a dark or light theme, sites are all displaying light/dark according to the theme.

I have: browser.in-content.dark-mode set to false ui.systemUsesDarkTheme set to ""0"" widget.content.allow-gtk-dark-theme set to ""true"" widget.disable-dark-scrollbar set to ""true"" widget.gtk.alt-theme.dark set to ""false""

I'm on Fedora 34 with Firefox 95.0

I wonder if my profile might be corrupt? I was getting some crashes lately and when I restarted firefox sometimes it would load an older tab state. It's fine now when I quit and re-open... but I do wonder :/

thanks for your help!

Hi. I'd like to have websites display as light mode but use a dark theme in Firefox. However, depending on if I'm using a dark or light theme, sites are all displaying light/dark according to the theme. I have: browser.in-content.dark-mode set to '''false''' ui.systemUsesDarkTheme set to ""0"" widget.content.allow-gtk-dark-theme set to ""true"" widget.disable-dark-scrollbar set to ""true"" widget.gtk.alt-theme.dark set to ""false"" I'm on Fedora 34 with Firefox 95.0 I wonder if my profile might be corrupt? I was getting some crashes lately and when I restarted firefox sometimes it would load an older tab state. It's fine now when I quit and re-open... but I do wonder :/ thanks for your help!

Выбранное решение

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]
Прочитайте этот ответ в контексте 👍 0

Все ответы (4)

more options

Have you tried Firefox in Safe Mode? https://support.mozilla.org/en-US/kb/diagnose-firefox-issues-using-troubleshoot-mode#w_how-to-start-firefox-in-4troubleshoot-modesf5safe-modesf

Try downloading another copy of Firefox and run it from the folder. Do not sign into your Firefox account and see if you have the same issue.

https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

more options

There have been many such reports. Evidently the default value of a preference was changed so you need to reset it. https://support.mozilla.org/en-US/questions/1360536#answer-1465159

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]
more options

cor-el said

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]

this was the about:config I was looking for: `layout.css.prefers-color-scheme.content-override`

thanks so much!!