

It also implements support for the sound option.Įxtensions need to notify this extension for it to play a sound. The extension honors the silent flag of a notification and will not play a sound when it is set. This means that most push notifications will not work. The extension can play a sound for websites when they trigger that in their DOM context, not when triggered from a Worker. Hopefully the future will provide a way to support those notifications too, as they are becoming more and more popular. NOTE: this extension will not work for notifications that websites push to your device, as in notifications that are shown without the website being loaded in a tab. When defining allowed websites and extensions you can even specify individual sounds and volumes for each entry. It will play whenever a notification is shown - even if your operating system also plays one. However, there is a plugin to sort of polyfill the API. So far only webkit and firefox implements the draft spec. Can also play the notification sound when downloads finish, optionally not only when Firefox is not focused.ĭefine your own sound or just enjoy the default pop the extension comes with. 1 Answer Sorted by: 2 There is HTML5 Notification API that is still a draft spec currently. You can both work on an include or exclude principle. This article looks at the basics of using this API in your own apps. This extensions adds sounds to some notifications.Ĭhoose if which websites and supported extensions you want a sound to be played for. The Notifications API lets a web page or app send notifications that are displayed outside the page at the system level this lets web apps send information to a user even if the application is idle or in the background. The default Firefox notification system doesn't notify you with audio, only visually.
