Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Post History

75%
+4 −0
Q&A Control whether Firefox renders web pages in dark or light mode

It has been reported that, if on a dark theme in KDE, Firefox automatically renders some websites that support it (e.g. Duckduckgo does, but Codidact doesn't) in dark mode. How can I better contro...

1 answer  ·  posted 3y ago by Quasímodo‭  ·  last activity 3y ago by Quasímodo‭

Question firefox
#4: Post edited by user avatar Quasímodo‭ · 2022-03-01T17:19:43Z (almost 3 years ago)
Revert to initial question since the proposed solution actually works
  • It has been [reported][1] that, if on a dark theme in KDE, Firefox automatically renders some websites that support it (e.g. Duckduckgo does, but Codidact doesn't) in dark mode.
  • How can I better control how Firefox behaves in respect to that?
  • I followed these steps according to [this support answer to "Home page is black"][2]:
  • 1. Entered about:config in the address bar.
  • 2. Edited the value of "layout.css.prefers-color-scheme.content-override" to 0, the options being
  • ```
  • 0 to use a dark background
  • 1 to use a light background
  • 2 to follow the system theme
  • 3 to follow the browser toolbar theme
  • ```
  • But I still get pages that support dark mode in light mode.
  • [1]: https://unix.stackexchange.com/questions/692545/firefox-starts-most-websites-in-dark-mode
  • [2]: https://support.mozilla.org/en-US/questions/1363994#answer-1473215
  • It has been [reported][1] that, if on a dark theme in KDE, Firefox automatically renders some websites that support it (e.g. Duckduckgo does, but Codidact doesn't) in dark mode.
  • How can I better control how Firefox behaves in respect to that?
  • [1]: https://unix.stackexchange.com/questions/692545/firefox-starts-most-websites-in-dark-mode
#3: Post edited by user avatar Quasímodo‭ · 2022-03-01T16:06:55Z (almost 3 years ago)
  • It has been [reported][1] that if one use a dark theme in KDE, Firefox automatically renders some websites that support it (e.g. Duckduckgo) in dark mode.
  • How can I better control how Firefox behaves in respect to that?
  • I followed these steps according to [this support answer to "Home page is black"][2]:
  • 1. Entered about:config in the address bar.
  • 2. Edited the value of "layout.css.prefers-color-scheme.content-override" to 0, the options being
  • ```
  • 0 to use a dark background
  • 1 to use a light background
  • 2 to follow the system theme
  • 3 to follow the browser toolbar theme
  • ```
  • But I still get pages that support dark mode in light mode.
  • [1]: https://unix.stackexchange.com/questions/692545/firefox-starts-most-websites-in-dark-mode
  • [2]: https://support.mozilla.org/en-US/questions/1363994#answer-1473215
  • It has been [reported][1] that, if on a dark theme in KDE, Firefox automatically renders some websites that support it (e.g. Duckduckgo does, but Codidact doesn't) in dark mode.
  • How can I better control how Firefox behaves in respect to that?
  • I followed these steps according to [this support answer to "Home page is black"][2]:
  • 1. Entered about:config in the address bar.
  • 2. Edited the value of "layout.css.prefers-color-scheme.content-override" to 0, the options being
  • ```
  • 0 to use a dark background
  • 1 to use a light background
  • 2 to follow the system theme
  • 3 to follow the browser toolbar theme
  • ```
  • But I still get pages that support dark mode in light mode.
  • [1]: https://unix.stackexchange.com/questions/692545/firefox-starts-most-websites-in-dark-mode
  • [2]: https://support.mozilla.org/en-US/questions/1363994#answer-1473215
#2: Post edited by user avatar Quasímodo‭ · 2022-03-01T14:14:51Z (almost 3 years ago)
Add non-working solution
  • It has been [reported][1] that if one use a dark theme in KDE, Firefox automatically renders some websites that support it (e.g. Duckduckgo) in dark mode.
  • How can I better control how Firefox behaves in respect to that?
  • [1]: https://unix.stackexchange.com/questions/692545/firefox-starts-most-websites-in-dark-mode
  • It has been [reported][1] that if one use a dark theme in KDE, Firefox automatically renders some websites that support it (e.g. Duckduckgo) in dark mode.
  • How can I better control how Firefox behaves in respect to that?
  • I followed these steps according to [this support answer to "Home page is black"][2]:
  • 1. Entered about:config in the address bar.
  • 2. Edited the value of "layout.css.prefers-color-scheme.content-override" to 0, the options being
  • ```
  • 0 to use a dark background
  • 1 to use a light background
  • 2 to follow the system theme
  • 3 to follow the browser toolbar theme
  • ```
  • But I still get pages that support dark mode in light mode.
  • [1]: https://unix.stackexchange.com/questions/692545/firefox-starts-most-websites-in-dark-mode
  • [2]: https://support.mozilla.org/en-US/questions/1363994#answer-1473215
#1: Initial revision by user avatar Quasímodo‭ · 2022-03-01T13:59:14Z (almost 3 years ago)
Control whether Firefox renders web pages in dark or light mode
It has been [reported][1] that if one use a dark theme in KDE, Firefox automatically renders some websites that support it (e.g. Duckduckgo) in dark mode.

How can I better control how Firefox behaves in respect to that?

[1]: https://unix.stackexchange.com/questions/692545/firefox-starts-most-websites-in-dark-mode