files/en-us/mozilla/add-ons/webextensions/api/notifications/index.md
Display notifications to the user, using the underlying operating system's notification mechanism. Because this API uses the operating system's notification mechanism, the details of how notifications appear and behave may differ according to the operating system and the user's settings.
On macOS, the notification looks something like this:
On Windows, the notification persists in the Action Center until the browser is closed. The notification looks something like this:
To use this API, you need to have the "notifications" permission.
{{WebExtExamples("h2")}}
{{Compat}}
[!NOTE] This API is based on Chromium's
chrome.notificationsAPI.