为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I enable Windows 10 Pro to allow notifications for Firefox?

more options

This seems to be an issue with Windows (running 10 Pro) on my laptop, but I'm hoping someone can help. In Windows notification settings, I can select some programs/apps, for which Windows will allow notifications (see screenshot). Firefox is not listed among these, although Opera is. I've been hoping that one of the recent Firefox updates would fix this, but that hasn't happened. I do have notifications enable in Firefox, but those notifications aren't getting through to Windows.

Anyone know how to solve this? Thanks!

This seems to be an issue with Windows (running 10 Pro) on my laptop, but I'm hoping someone can help. In Windows notification settings, I can select some programs/apps, for which Windows will allow notifications (see screenshot). Firefox is not listed among these, although Opera is. I've been hoping that one of the recent Firefox updates would fix this, but that hasn't happened. I do have notifications enable in Firefox, but those notifications aren't getting through to Windows. Anyone know how to solve this? Thanks!
已附加屏幕截图

被采纳的解决方案

Maybe you need to get a notification at least once in order to approve it? You could try this test page:

https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API#Replacing_existing_notifications

A message should drop from the left end of the address bar to allow the page to send notifications. Then if you scroll down past the shaded code box, there's a demo button.

定位到答案原位置 👍 1

所有回复 (4)

more options

For that to work it must show up in the notification for Windows in the screenshot you provided. And looking at mine I don't see that listed as part of those notifications.

more options

选择的解决方案

Maybe you need to get a notification at least once in order to approve it? You could try this test page:

https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API#Replacing_existing_notifications

A message should drop from the left end of the address bar to allow the page to send notifications. Then if you scroll down past the shaded code box, there's a demo button.

more options

jscher2000, thanks that worked, mostly. A notification pops up, but there's no sound, and I can't find a way to turn on audio for notifications. Is that possible? Thanks again!

more options

Hmm, I don't know if you can have audio with notifications. Sites can generate audio in other ways, so they might have to do both independently.