Worth noting is that "prefers-color-scheme" works in all major OSes at this point, mobile and desktop. If your site already has a dark theme, there is no reason at all not to be integrating it this way. Even if you don't have a dark theme already, it's a huge value-add..... (@dang?)
Things you can do with a browser in 2020
11–20 of 387 posts
Re: Things you can do with a browser in 2020
#12... and Safari still holding out on web push - this lack is a reason many native apps get written.
Re: Things you can do with a browser in 2020
#13Suggestion: add a rough indicator of what platforms support each feature. You could link to the relevant page on https://caniuse.com/ but even a very quick "Supported: Mobile Safari, Chrome on Desktop" sentence next to each one would be enormously useful.
Each link already goes to MDN, which has its own rough chart of browser support
https://developer.mozilla.org/en-US/docs/Web/API/Credential_...
Re: Things you can do with a browser in 2020
#14Earlier quoted context omitted.
Each link already goes to MDN, which has its own rough chart of browser support
I clicked the Web Credentials link, and was disappointed to be redirected to google's docs :P https://developer.mozilla.org/en-US/docs/Web/API/Credential_...
Re: Things you can do with a browser in 2020
#15Push notifications are becoming an irritation mainly because of their overuse. The number of sites where you go to them to have a look at one piece of information and you have to tell them no to push notifications is becoming quite an annoyance.
Re: Things you can do with a browser in 2020
#16Worth noting is that "prefers-color-scheme" works in all major OSes at this point, mobile and desktop. If your site already has a dark theme, there is no reason at all not to be integrating it this way. Even if you don't have a dark theme already, it's a huge value-add..... (@dang?)
Yes, it's such an obscure feature that many of the people who enable it don't even realize it... Ever since I added dark mode to gwern.net, I've been getting or seeing complaints about how my website is broken or 'defaults to black-on-white' (it doesn't). :(
Re: Things you can do with a browser in 2020
#17Re: Things you can do with a browser in 2020
#18Worth noting is that "prefers-color-scheme" works in all major OSes at this point, mobile and desktop. If your site already has a dark theme, there is no reason at all not to be integrating it this way. Even if you don't have a dark theme already, it's a huge value-add..... (@dang?)
Re: Things you can do with a browser in 2020
#19Re: Things you can do with a browser in 2020
#20Who seriously thought the Battery Status API was a good idea? Someone thought this was useful enough to write a spec for it...
Granted I get folks might feel a rando website that is resource intensive would be horrific, but maybe we're talking about some specific web app / use case.