搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How is this ESR browser subscribed to notifications?

  • 2 回覆
  • 1 有這個問題
  • 16 次檢視
  • 最近回覆由 magnetbox

more options

I have a client who has Firefox ESR 52 and has multiple sites with web push notifications enabled, and they say they are getting pushes from those sites. How is this possible given that service workers are disabled for that browser? Were service workers enabled/allowed at some point, and then disabled later (so if you had it integrated and enabled it early on, it still works now)? Or is there another way to have web pushes for that browser?

I have a client who has Firefox ESR 52 and has multiple sites with web push notifications enabled, and they say they are getting pushes from those sites. How is this possible given that service workers are disabled for that browser? Were service workers enabled/allowed at some point, and then disabled later (so if you had it integrated and enabled it early on, it still works now)? Or is there another way to have web pushes for that browser?

所有回覆 (2)

more options

Push notifications are opt-in, and you can revoke permission from any website at any time.

  • Page Info -> Permissions: Receive Notifications
  • Options/Preferences -> Content: Notifications

These notifications require that you give permission to receive the notification when the website prompt you. These types of notifications are controlled globally via prefs that you can inspect and modify via the about:config page.

Global setting Push notifications: dom.push.enabled (dom.push.serverURL) Global setting Web notifications: dom.webnotifications.enabled and dom.webnotifications.serviceworker.enabled Global setting Desktop: notification.feature.enabled Global setting for service workers: dom.serviceWorkers.enabled

See also about:serviceworkers

more options

This answer isn't relevant to my question.