Hacker News new | ask | show | jobs
by Anunayj 1903 days ago
Actually its better, Chrome just displays a silent notification that says "this website just updated in background". I personally would rather know that a app did something behind my back. But I can see some users getting the wrong idea.

Though I think it ia fair since chrome is a web browser and shouldn't be making requests to random websites without my knowledge. cough cough

1 comments

I can see your point of view, but lets say I made a weather site. Would you really want to be notified everytime the data is updated, or do you just want the latest data when you view the page (assuming you want it to do that; I would like up to date data when I view the page, without having to wait for it to refresh; but then, since I'm the developer of my hypothetical weather page, I trust myself not to do anything untoward with the data)
In that case, the website can just do a get request when I click on the app. That should take like <200ms and won't even be noticable imo. The notification is only there for the use of Push API.