Top
Best
New

Posted by paddingtone 10 hours ago

Safari introduces Adaptive Dark Mode in 27.3(webkit.org)
391 points | 212 commentspage 5
_boffin_ 9 hours ago|
> Safari prevents websites from detecting when Adaptive Dark Mode has been applied. JavaScript that queries CSS colors will get the original authored colors, not the transformed ones. Any images drawn into canvas render in their original form.

So… the browser is now intentionally lying now. Ain’t that great.

mirashii 9 hours ago||
Browsers already intentionally lie all the time, and have had to for years, because fingerprinting and tracking by various ad networks and bad actors has been rampant.
mortenjorck 9 hours ago|||
This is more or less unavoidable to avoid breaking poorly-architected front-ends that rely on styling to handle logic.
kccqzy 9 hours ago|||
Browsers lie all the time. Browsers also prevent sites from getting the color of a link because visited links can be shown in a different color and this can be used by the site to tell if a user has ever visited a link.

Don’t you love it when browsers lie to websites to enhance the user’s privacy.

morsch 9 hours ago|||
It's the user's agent
neilalexander 9 hours ago|||
One less thing to fingerprint.
kvuj 9 hours ago||
> So… the browser is now intentionally lying now. Ain’t that great.

To the server. I'm 100% behind this. The unholy amount of control websites have over our web browser should go down, not up.

giancarlostoro 9 hours ago||
> To the server. I'm 100% behind this. The unholy amount of control websites have over our web browser should go down, not up.

Especially when so many lack reasonable ADA compliance.

hendersoon 9 hours ago||
Hah, I just paid for an addon to do this, Noir. Sure you could do it for free but it's a nice experience. Oh well, no harm done.
charcircuit 9 hours ago||
This is much better than the absolute embarrassment Mozilla tried with alternate page styles. I swear no one at Mozilla ever tested out the feature considering the style you select does not get persisted so the next time you navigate it reverts back to the original style.

Meanwhile this features is actually tired to a persisted device setting that doesn't get reset every time you go to a new page.

cyanydeez 9 hours ago||
Do they plan to introduce compliance with PWAs any time this decade?
inshard 9 hours ago||
Thank you, whoever led this!
cluckindan 9 hours ago|
On the contrary, screw you whoever led it. Who even wants authored styles nowadays.
arcanemachiner 9 hours ago||
"Authored"? It just applies a set of rules to the existing stylesheet. It's not like they're customizing it for different websites.
cluckindan 8 hours ago||
It was a rhetorical question, hence no question mark.
roflchoppa 9 hours ago||
take the wikipedia, no more flashbangs for me HA!
sheept 9 hours ago||
Wikipedia already supports dark mode as a feature of the default Vector 2022 skin.[0]

[0]: https://en.wikipedia.org/wiki/Wikipedia:Dark_mode

roflchoppa 8 hours ago||
I guess this time suffering was really a choice :(
kccqzy 8 hours ago||
Wikipedia allows you to write any custom CSS. In 2012/2013 when Facebook IPO’ed and was the cool thing I made a user CSS that made Wikipedia look like Facebook.
nouman0x45 9 hours ago||
damn
russellbeattie 9 hours ago||
"Websites aren't making dark mode versions! WE'LL DO IT FOR THEM!"

This has to be the result of some passion project by yet another whacko dark mode fanatic (you know who you are). Non-standard, assuredly buggy, and basically a maintenance nightmare. Good luck with that craziness.

Can we have another setting which turns dark websites into actually readable light designs for adults?

serifsadi 49 minutes ago||
[dead]
mpetrovich 9 hours ago|
[dead]
More comments...