3 ms·
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 Ne
by gdeglin 11y ago
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/ https://hackernews.onesignal.com/
- netcraft 11y agoso chrome supports the notifications but only if you are currently on the page? is that right?
- gdeglin 11y agoNo. 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-started/push-notifications/?hl=en https://developers.google.com/web/fundamentals/getting-start...
- akerro 11y ago>Chrome has supported notifications even when you have no browser windows open Chrome is literally botnet
- netcraft 11y agoIs 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 https://developer.mozilla.org/en-US/docs/Web/API/Push_API
- gdeglin 11y agoIt'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 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.
- digi_owl 11y agoThanks.
- paraschopra 11y agoAnd if you're into Indie music, use this http://www.indiestumblr.com/ http://www.indiestumblr.com/
- josteink 11y ago> 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/ 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.