Push Notification API Demo Fork

This is a demo of Push API. Make sure to use a browser that supports all the required features.

  1. Click on the button below
  2. Accept getting notifications (if prompted)
  3. Close the browser or at least switch to another tab

After 5 seconds, you will receive the notification.

Checking the browser capabilities

Service worker


Push API