Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
Discard Service Worker 预览

Discard Service Worker 作者: Maxi9090

Automatically unregister the service workers of closed websites

0(0 条评价)0(0 条评价)
尚无用户尚无用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
This extension is a single tiny background script that purely unregisters a website's service worker registration when:
- no open tab is using a website with a service worker.
- leaving a site in the same tab.
- closing the last tab with a service worker.
- starting up the browser (because no websites are loaded on startup).

Firefox like all browsers keeps every service worker registration installed forever unless you clear cookies and site data, which also logs you out of your accounts. Service workers for sites you have left can wake and run in the background, using memory and network. This extension solves both, and doesn't need any manual intervention.

Permissions

This extension only needs two permissions to work:
- Navigation activity (webNavigation) reports which pages and frames are open.
- Browsing data clearing (browsingData) is used only to remove service worker registrations.

Those permissions can do more, but this extension only uses webNavigation to read frame URLs to decide when a site is no longer open, and browsingData to pass the service workers flag. No other data types are ever touched. Neither permission can read page content or change network requests.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 清除最近的浏览历史、Cookie 及有关数据
  • 获知浏览器导航时的行为状态

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 复制附加组件 ID
版本
1.6.0
大小
10.5 KB
上次更新
2 个月前 (2026年10月14日)
相关分类
  • 隐私和安全
许可证
仅 GNU 通用公共许可证 v3.0
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。