搜尋 Mozilla 技術支援網站

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

Learn More

Service worker permissions

  • 3 回覆
  • 1 有這個問題
  • 581 次檢視
  • 最近回覆由 inetknght

more options

I found the page "about:debugging#workers"

Inside, I found that there were many sites which had installed "service workers". Many of the sites which had them installed were sites which I do not recall visiting and/or do not wish to permit to keep or store anything on my machine.

I removed most of them. Several of the ones which remained weren't running despite me currently using the site associated with them.

More to the point: how do I have Firefox ask for permission for a site to install a service worker? I poked around "about:config" and noticed that there's overall settings to enable/disable service workers but I don't see anything about per-site configuration. This seems like a significantly overlooked privacy issue.

I found the page "about:debugging#workers" Inside, I found that there were many sites which had installed "service workers". Many of the sites which had them installed were sites which I do not recall visiting and/or do not wish to permit to keep or store anything on my machine. I removed most of them. Several of the ones which remained weren't running despite me currently using the site associated with them. More to the point: how do I have Firefox ask for permission for a site to install a service worker? I poked around "about:config" and noticed that there's overall settings to enable/disable service workers but I don't see anything about per-site configuration. This seems like a significantly overlooked privacy issue.

被選擇的解決方法

There is also the about:serviceworkers page that shows more detail. I'm not aware to always show a confirmation when a website want to register a worker. In most cases a worker is only active when you have a page open. For a push notification you need to grant permission.

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

I found this; https://www.ghacks.net/2016/03/02/manage-service-workers-in-firefox-and-chrome/ Manage Service Workers in Firefox and Chrome - gHacks Tech News

more options

選擇的解決方法

There is also the about:serviceworkers page that shows more detail. I'm not aware to always show a confirmation when a website want to register a worker. In most cases a worker is only active when you have a page open. For a push notification you need to grant permission.

more options

The about:serviceworkers page is different indeed. It does not appear to tell me whether or not a service worker is running, while about:debugging#workers does.

The https://www.ghacks.net/2016/03/02/manage-service-workers-in-firefox-and-chrome/ page appears to be from 2016. Are you trying to tell me that service workers have been around for years and we still do not have privacy controls around them? I thought Firefox wanted to adopt privacy best practices?!