I'm using the Web Notification API to show desktop notifications from my web app under OSX.
In Firefox only, when a notification is triggered, it also plays a sound (in Safari and Chrome, using the exact same code, only the notification displays and there's no accompanying sound effect).
I'd like to disable the notification sound in Firefox, but I can't find anything in the documentation about controlling it. Is this possible?
On OS X, go to System Preferences, then Notifications. Choose Firefox and uncheck Play sound for notifications to get rid of the sound.
The Web Notification API now has the config option silent, but support is patchy, Chrome v43+, Firefox (not yet supported).
I'd suggest building silent into your notifications then if/when Firefox support it, it will just work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With