Re:Firefox Can Now Get Push Notifications from Your Favorite...
by gdeglin on Tuesday January 26, 2016 @03:43PM
(#10975893)
For anyone who would like a demo and real-world example, my company put together a website to let you subscribe to Web Push notifications for trending Hacker News stories: https://hackernews.onesignal.com/
[ Parent
| on HN ]
Re:Firefox Can Now Get Push Notifications from Your Favorite...
by josteink on Wednesday January 27, 2016 @02:27AM
(#10978755)
> For anyone who would like a demo and real-world example, my company put together a website to let you subscribe to Web Push notifications for trending Hacker News stories: https://hackernews.onesignal.com/
For some reason I only get this working on Firefox Mobile (not on my Windows 10 desktop), but definitely cool.
I can definitely see how this can/will subplant shallow webview-wrapping apps in the long run.
Re:Firefox Can Now Get Push Notifications from Your Favorite...
by paraschopra on Wednesday January 27, 2016 @01:25AM
(#10978582)
And if you're into Indie music, use this http://www.indiestumblr.com/
Re:Firefox Can Now Get Push Notifications from Your Favorite...
by netcraft on Tuesday January 26, 2016 @03:52PM
(#10975960)
so chrome supports the notifications but only if you are currently on the page? is that right?
Re:Firefox Can Now Get Push Notifications from Your Favorite...
by gdeglin on Tuesday January 26, 2016 @03:53PM
(#10975969)
No. Chrome has supported notifications even when you have no browser windows open since Chrome 42, released mid 2015. https://developers.google.com/web/fundamentals/getting-start...
Re:Firefox Can Now Get Push Notifications from Your Favorite...
by netcraft on Tuesday January 26, 2016 @04:07PM
(#10976079)
Is this page out of date or are those two other features related to the push api that arent supported by chrome unrelated to what firefox just released? https://developer.mozilla.org/en-US/docs/Web/API/Push_API
Re:Firefox Can Now Get Push Notifications from Your Favorite...
by gdeglin on Tuesday January 26, 2016 @04:14PM
(#10976127)
It's not out of date. Chrome does not yet support Message Payloads in the public release, here's their description for it on chromestatus.com: https://www.chromestatus.com/feature/5746279325892608
The workaround for now is to have the service worker fetch the payload from an API endpoint that the sender implements themselves.