![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
customize desktop notifications
Hello,
I would like to receive much more intrusive web notifications so that I can actually notice them. But I see no option in firefox to customize how notifications are displayed.
I see in about config one undocumented option: notification.feature.enabled What does it do?
Is there a way to make firefox web notifications on linux more noticeable and void them disappearing after a few seconds? Maybe add sound as well?
Using ff 40 on fedora linux.
所有回复 (6)
Are you talking about things like a viruses and such? That is done by your anti-virus software.
FredMcD said
Are you talking about things like a viruses and such? That is done by your anti-virus software.
I don't think I mentioned anything like that. I want to have more intrusive notifications from some apps, and less annoying from other apps. e.g. calendar should interrupt me while some unimportant app should have notification less visible.
The built-in notification feature is pretty limited; the developer can only specify the title, text, and icon.
- https://developer.mozilla.org/docs/Web/API/Notifications_API/Using_the_Notifications_API
- https://developer.mozilla.org/docs/Web/API/notification
Fancier notifications probably require an add-on.
akostadinov said
I see in about config one undocumented option:
notification.feature.enabled
What does it do?
I can't tell. Normally sites prompt you for permission to show desktop notifications. Maybe that's a blanket permission?
I don’t think you mentioned anything specific related to notifications in your original question. Firefox and any other browser are browsers and hence hardly contain anything like notifications (time-based, calendar-based, virus-based etc.).
As said, notifications are the job of websites visited or applications, even when integrated in browser software, so you are likely talking about particular websites, apps or add-ons. Please be specific on what and from what app or program you would like to see notifications from and we may be of help.
See also:
- bug 782211 - Implement notification API spec
- https://hacks.mozilla.org/2013/04/hidpi-support-html5-notifications-parallel-js-asm-js-and-more-firefox-development-highlights/