Re:The Hitchhiker’s Guide to Online Anonymity Revival
by pterocles on Monday July 11, 2022 @03:12AM
(#32053194)
"If `privacy.resistFingerprinting` has been set true, the prefers-color-scheme preference is forced to light. You must set `privacy.resistFingerprinting` to false in order to use this feature."
Kind of a bummer.
Re:The Hitchhiker’s Guide to Online Anonymity Revival
by BeefWellington on Tuesday July 12, 2022 @07:12PM
(#32076994)
Yeah, in those cases your toggle would still come into play.
Two off-the-cuff pieces of feedback:
1) The PDF link is broken.
2) You can achieve a Light/Dark theme toggle using pure CSS, using a combination of prefers-color-scheme[1] and/or a combinator selector (~) and checkbox. This could do away with the JS entirely.
[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...