Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notifications across all browsers

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).

like image 844
Ph33ly Avatar asked Jul 28 '15 18:07

Ph33ly


People also ask

How do browser notifications work?

Browser notifications are simply notifications that can be sent by web applications and websites. The messages are received by the user's browser client. Browser notifications can be sent even when the particular website is not actively in use.

How do I manage browser notifications?

After you open your Chrome browser, find the three dots at the right of the address bar. Click the dots and select Settings. This opens a new tab where you can change your notification settings under Privacy and Security. Be sure to go to Site Settings if you want to change any site permissions.


1 Answers

Are there any sort of notification system that works with all major browsers?

The mechanism https://notifications.spec.whatwg.org/ defines is the only standard notification system for web apps 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/docs/Web/API/Notifications_API/Using_the_Notifications_API

like image 118
sideshowbarker Avatar answered Oct 05 '22 15:10

sideshowbarker