I sometimes need to test if a website I develop is working correctly in dark mode, but dark/light mode buttons doesn’t work in LibreWolf devtools. Is there a solution for this?
Librewolf turns on resist fingerprinting by default. If you go into about:config and disable resist fingerprinting, you can re enable light/dark mode preferences being recognized by the browser.
Or you could install the Dark Reader extension, but that will overwrite all CSS and approximate Dark Mode rather than use a customized CSS stylesheet.
Or you could install Vanilla Firefox and use that only to develop while you use Librewolf to privately browse, which is what I do.
If there isn’t more convenient way, I’ll just disable RFP when needed. Thanks!
You can create a new profile on the about:profiles page, which you could use for development. This is like if you installed a new browser, but with your original one, because the new profile have it’s own separate settings.
That’s even better, thank you!
I’ve been trying to figure out if there is a way to turn off just the part of RFP that blocks system-based light/dark mode, or bypass it somehow, on a site-by-site basis?
Now that I use LibreWolf instead of Firefox, maybe it would be good to have two “profiles” under about:profiles – one that follows system darkmode / light mode but is less fingerprint-resistant, and one for more private things.
Although otoh, I am pretty sure my browser is not very fingerprint resistant anyway, and I try to use TOR for any searches I don’t want linked to me… pretty annoying how some sites don’t work on TOR though :(