Live data from Hacker News

Things you can do with a browser in 2020

github.com

31–40 of 387 posts

Re: Things you can do with a browser in 2020

#33

As a user, so many of these I wish did NOT exist. E.g: Push Notifications, Banners, Web Share, Contacts, Page Visibility, Badging. Uncertain about USB, Bluetooth, Locks, Keyboard Lock, and Native File System. I don't want my browser doing those things.

Consider that different users have different needs, and almost all features listed are opt-in.

Re: Things you can do with a browser in 2020

#34
post #12
post #10

... and Safari still holding out on web push - this lack is a reason many native apps get written.

I’m not sure why I read this in a negative tone, this is fantastic.

It’s why there are no self hostable chat apps.

A better option would be for users to be able to select alternate push servers.

Re: Things you can do with a browser in 2020

#36

Who seriously thought the Battery Status API was a good idea? Someone thought this was useful enough to write a spec for it...

Emergency tools could benefit from knowing if the device was about to die or not, like the Tinder SOS app, government emergency tools, etc. Imagine sending a quick POST request to save session state or whatever before it dies.

Re: Things you can do with a browser in 2020

#37
post #33

As a user, so many of these I wish did NOT exist. E.g: Push Notifications, Banners, Web Share, Contacts, Page Visibility, Badging. Uncertain about USB, Bluetooth, Locks, Keyboard Lock, and Native File System. I don't want my browser doing those things.

Consider that different users have different needs, and almost all features listed are opt-in.

except you have to opt out of them all before you can consume that 1 website's content

hm I wonder if there is a chrome extension for that

Re: Things you can do with a browser in 2020

#38
post #11
post #6

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?)

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). :(

That's silly of them. The only problem I've noticed is that images are inverted when they shouldn't be (e.g. on hover or the enlarged view).

Re: Things you can do with a browser in 2020

#40
post #33

Earlier quoted context omitted.

Consider that different users have different needs, and almost all features listed are opt-in.

except you have to opt out of them all before you can consume that 1 website's content hm I wonder if there is a chrome extension for that

> except you have to opt out of them all before you can consume that 1 website's content

This is an issue with that particular website's implementation, not something inherent to the browser or the API.

Post reply on HN