Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
Log in
Preview of Discard Service Worker

Discard Service Worker by Maxi9090

Automatically unregister the service workers of closed websites

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
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.
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Clear recent browsing history, cookies, and related data
  • Access browser activity during navigation

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Copy add-on ID
Version
1.5.0
Size
10.01 KB
Last updated
9 days ago (Sep 22, 2026)
Related Categories
  • Privacy & Security
License
GNU General Public License v3.0 only
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

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

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.