Therefore, it should be possible to create a new notification with the new Notification() constructor. It does ask for permission the first time and if I refresh with a console.log, it shows 'granted. It also implements support for the sound option.Įxtensions need to notify this extension for it to play a sound. I have tried to get a notification working on Chrome and Brave, but nothing is showed when I click the button. 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. 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. You can both work on an include or exclude principle. This extensions adds sounds to some notifications.Ĭhoose if which websites and supported extensions you want a sound to be played for. The default Firefox notification system doesn't notify you with audio, only visually.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |