0

使用 web 通知 api Mozilla 将请求用户许可。如果我选择“始终阻止通知”,似乎无法撤消该设置(?)。

我检查了 about:config,并且 dom.notifications.enabled 是真的。

但是调用 Notification.requestPermission() 永远不会再次显示弹出窗口......

4

1 回答 1

1

Under the menu at right-hand side of the Firefox toolbar, go to History -> Show All History. Find the site in question, right-click on it, and choose Forget About This Site from the context menu. This will clear all site data and site-related preferences including the notifications preferences, so you'll be able to get the notification prompt again.

于 2015-07-17T16:04:01.720 回答