Notifications API Demo

Request permission and show a desktop notification with the Notifications API. The page must run in a secure context (HTTPS or localhost).

Browser notification

Requests permission and shows a notification with the Notification constructor.

${status}

Permission: ${permission}

If the permission prompt does not appear, allow notifications for this site in your browser settings.