It’s very simple to display a native notification using JavaScript.
Web Push Notifications
P2P Notifications? CORS is removed from all major push services
Sending web push notifications directly from a browser to another, using the Push API protocol, is not a secure practice. Now CORS is finally removed from all browser push services.
“This site has been updated in the background”: what is this notification?
If you subscribe to the notifications of some websites, you may sometimes see a strange notification with this content: “This site has been updated in the background”. What does that mean? And if you are the website owner, how can you prevent that notification?
What happens to the push subscription when you clear data from browser?
A user visits a website and subscribes to the notifications. Then, after some time, he opens the browser settings and clicks “clear data” in order to remove the history and all the data stored by the browser on the device. What happens to the notifications in this case?
Best UI / UX for subscribing users to web push notifications
In order to optimize the number of people that subscribe to your notifications, you need to use the right user interface (UI). It’s also important to design a good user experience (UX), so that the notification prompt is perceived as something useful for the user and not as an annoyance. In this post we’ll analyze different approaches and user interfaces that are useful to ask users to subscribe to web push notifications.
Bell icon for push notifications and subscribe button
Are you looking for a bell icon to represent push notifications or to create a subscribe button on your website?
There are many free and open source resources where you can get an high-quality bell icon, in different formats, without the need to draw it manually.
Is it possible to display newlines inside web notifications?
You can include newlines and line breaks inside the body of web notifications.
Styling web push notifications
Is it possible to customize the style of web push notifications?
Web Push Notifications: multiple accounts on the same browser
How can you manage push notifications when a user uses multiple accounts on the same browser? What can you do if multiple users use the same device / browser?
Web Push: wake up a phone from deep sleep with urgent notifications
Is it possible to instantly deliver a web push notification to notify a phone call or to deliver any other time-sensitive notification?