Are there any sort of notification system that works with all major browsers? I know chrome has their Notification API, Safari has push notifications and IE has pinned sites but is there some more general way to show notifications? I did find https://github.com/ttsvetko/HTML5-Desktop-Notifications which uses a combination of different notifications (though I still can't seem to get the demo working in IE).
Asked
Active
Viewed 1.3k times
1 Answers
9
Are there any sort of notification system that works with all major browsers?
The mechanism defined at https://notifications.spec.whatwg.org/ is the only standard notification system for web applications that’s intended to work the same across all browsers. It’s supported in all current major browsers: Firefox, Safari, Chrome, and all other Chrome-based browsers.
https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API
sideshowbarker
- 62,215
- 21
- 143
- 153
-
This project can't has onclick event. If it is upgraded for this feature that all of major browsers supports, it will be perfect for everyone. – MERT DOĞAN Mar 17 '16 at 12:20
-
3Wow, IE + Edge holding up everything. Deja vu much? – Manachi Nov 02 '16 at 05:58
-
What kind of code has to be written on Server side for pushing notifications to browser? – Vibha Mar 02 '18 at 12:59
-
Actually Edge is supported as you can see from the [Browser compatibility](https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API#Browser_compatibility) table. The only unsupported browser among the major ones is Internet Explorer, although there are some minor restrictions in Safari and Firefox too. – Sal Borrelli Jul 30 '20 at 10:58