[Support] Introducing Dark Website Forcer for Firefox 67

Background

Firefox 67 now supports the CSS media query prefers-color-scheme!
Website developers can use to adjust their website design to the (light or dark) system setting.
Thus, they can support a “dark mode” or a “light mode” of their website.

Get it

So here it is:
Download Dark Website Forcer for Firefox
Firefox logo, Get the add-on

(source code)

Why add-on?

But I was missing an option to change that setting in my browser and make it independent of the rest of the system. (This may be useful for developing etc.)
Also, the add-on makes it possible to use this dark mode on OSes that do not support any dark mode. (some Linux distros, Windows 7 etc.)

Restrictions

However, I’ve had some problems, and I have described that in the linked thread in detail when developing it. The TL;DR is: Mozilla Firefox does not have a proper API to toggle that setting or overwrite it for websites.

This means, there is one big restriction:

  • It cannot force a light style! As most websites do not specify their light styling separately, but actually only add extra CSS for overwriting the light style.
    If this bug is solved, this add-on could be much more flexible.
1 Like