this post was submitted on 18 Feb 2024
1 points (66.7% liked)

Firefox

14 readers
1 users here now

The latest news and developments on Firefox and Mozilla, a global non-profit that strives to promote openness, innovation and opportunity on the web. This is an unofficial community.

founded 1 year ago
 

How in web-extenion to detect whether a website supports dark mode and whether it is in dark mode?

Including not only does it automatically switch to dark mode (with color-scheme)), but also is it in dark mode by default, without using color-scheme, without having a light mode?

I want to expand (Firelux type) with such an automatic, effective detector.

I thought that maybe someone had made an effort to detect dark backgrounds, but also light subtitles, detecting everything possible...

Then it occurred to me that there should be a database of sites that have a dark mode and a way to bypass it...
But I'm doing it myself in Firelux, clicking laboriously.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here