Re:Bitcoin has died 166 times, so far
by tobyhinloopen on Wednesday September 20, 2017 @03:38AM
(#15291535)
Yeah I never accept that. Who would?
[ Parent
| on HN ]
Re:Bitcoin has died 166 times, so far
by reificator on Wednesday September 20, 2017 @03:39AM
(#15291540)
There are lots of reasons to accept that request.
Visiting the page for the first time and immediately getting a popup is not one of them.
Re:Bitcoin has died 166 times, so far
by aedron on Wednesday September 20, 2017 @04:14AM
(#15291661)
It's a poor design where a site is allowed to throw up a dialog like that (also goes for the "this site wants to know your location! yes/no").
It should work like the popup blocker, just show a red cross somewhere, that some action was blocked, and if the user wants to, he can go and unblock it. The onus should be on the site owner to tell his user "if you want this additional functionality, please go and enable <this or that>".
Re:Bitcoin has died 166 times, so far
by Nullabillity on Wednesday September 27, 2017 @07:11AM
(#15346605)
Please, no. That would just end up with each site having their own annoying modal, instead of having a single place to block all of them.
Re:Bitcoin has died 166 times, so far
by pvdebbe on Wednesday September 20, 2017 @03:40AM
(#15291544)
I don't even know what it means for a website to send a notification. Does it mean a flashing tab in firefox?
Re:Bitcoin has died 166 times, so far
by scarlac on Wednesday September 20, 2017 @03:44AM
(#15291564)
Depends on your OS. For Chrome on macOS, it'll show a chrome-styled square box with an icon and a piece of text in the upper right hand corner, kinda like macOS notifications (but they look nothing like it). In general, web notifications (can) work the same way they do on your smart phone. They can arrive from an active tab as well as from a background service.
Safari (on macOS) will use the native macOS notification system to display notifications AFAIR. I have no idea what IE on Windows does.
Re:Bitcoin has died 166 times, so far
by suprfnk on Wednesday September 20, 2017 @03:53AM
(#15291593)
> I have no idea wat IE on Windows does.
https://blogs.windows.com/msedgedev/2016/05/16/web-notificat...
Re:Bitcoin has died 166 times, so far
by matt-attack on Wednesday September 20, 2017 @04:25AM
(#15291699)
But in either case the browser has to be running Iām assuming? Seems kinda flawed.
Re:Bitcoin has died 166 times, so far
by spoiler on Wednesday September 20, 2017 @04:41AM
(#15291763)
JS service workers allow a JavaScript thread to run in the background while the browser chrome (the window) is closed. So, in theory, the browser doesn't need to be open. Also, notifications can be useful with an open browser too (or, multiple tabs with a tab in the background for example)
Re:Bitcoin has died 166 times, so far
by rowyourboat on Wednesday September 20, 2017 @12:32PM
(#15295629)
That depends on the browser implementation. The protocol does not require the user to have the site open.