Notifications API

Download javascript eBook


  • Notification.requestPermission(callback)
  • Notification.requestPermission().then(callback, rejectFunc)
  • new Notification(title, options)
  • notification.close()


The Notifications API was designed to allow browser access to notifying the client.

Support by browsers might be limited. Also support by the operating system may be limited.

The following table gives an overview of the earliest browser versions that provide support for notifications.

ChromeEdgeFirefoxInternet ExplorerOperaOpera MiniSafari
291446no support38no support9.1

Related Examples


252 Contributors: 8
Tuesday, November 15, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook