api.Notification

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 20 on 2012-06-26 Note: Starting in Chrome 49, notifications do not work in incognito mode. Before Chrome 42, service worker additions were not supported.

In Chrome Android version 42 on 2015-04-15 Note: A notification can only be sent from a service worker. To show a notification, see ServiceWorkerRegistration.showNotification().

In Edge version 14 on 2016-08-02

In Firefox version 22 on 2013-06-25

In Firefox for Android version 22 on 2013-06-25

Not in Internet Explorer

In Quest Browser version 5.0 on undefined Note: A notification can only be sent from a service worker. To show a notification, see ServiceWorkerRegistration.showNotification().

In Opera version 23 on 2014-07-22 Note: Starting in Opera 36, notifications do not work in incognito mode. Before Opera 29, service worker additions were not supported.

In Opera Android version 29 on 2015-04-28 Note: Notifications in Opera for Android are only available through service workers. To show notifications on Android, see ServiceWorkerRegistration.showNotification(). Starting in Opera for Android 36, notifications do not work in incognito mode.

In Safari version 7 on 2013-10-22

In Safari on iOS version 16.4 on 2023-03-27 Note: The Notification interface is undefined, unless the page is a web app saved to the home screen. The app's manifest must have a non-default display value. A notification can only be sent from a service worker. To show a notification, see ServiceWorkerRegistration.showNotification().

In Samsung Internet version 4.0 on 2016-03-11 Note: Notifications in Samsung Internet are only available through service workers. To show notifications on Android, see ServiceWorkerRegistration.showNotification(). Starting in Samsung Internet 5.0, notifications do not work in incognito mode.

Not in WebView Android

Not in WebView on iOS