How can you verify that a push subscription is still valid (and not invalid or expired)? How can you detect if a user has unsubscribed and the subscription is no longer valid?
Web Push Notifications
Chrome Push Notifications: This site has been updated in the background
What can you do if you receive that notifications? What does it mean? How can you fix it?
Push API: detect browser support (feature detection)
How can you find out if the current browser supports the Push API and Web Push Notifications?
Web Notifications: difference between icon / image / badge
What is the difference between Notification.icon
, Notification.image
and Notification.badge
?
Web Push: send a notification to all users
Sometimes you just need to send the same notification to all users that have subscribed to your website notifications. Let’s see how to achieve that.
Change the default Chrome icon (browser logo) for notifications
Is it possible to replace the Chrome logo / browser logo on notifications with the website logo?
Web notifications in incognito mode
Is it possible to subscribe to notifications when surfing in incognito mode or with private browsing (e.g. on Chrome, Firefox)?
Schedule or delay a web notification (like a reminder)
How can you create a web notification now that is displayed some time later?
Reset the denied permission for notifications (undo “Block”)
What can you do if a user blocks the notifications on your website by clicking the “Block” button in the permission prompt? How can you reset that choice? How can you display the permission prompt again?
Can you display notifications when the browser is closed?
Is it possible to display the notifications from a website even when Chrome, Firefox or other browsers are closed?