Service worker permissions
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)
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
選擇的解決方法
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.
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?!