Auto-Clear Site Data
Finally!!! successor to Cookie AutoDelete extension |๐งน Automatically clears site data (cookies, local storage, IndexedDB, Cache, SW) when you close a site'sโฆ
Not scanned yet
Browser extension
Firefox
181 users
Install in
Auto-Clear Site Data
Automatically clears cookies, localStorage, indexedDB, cache, and service workers when you leave a site โ whether you close a tab, navigate away, or the browser discards it. Stay private and keep your storage clean without lifting a finger. ๐งน
โจ What It Does
- Auto-clears on exit โ Data is wiped after a configurable delay (0โ3600s) when you leave a site
- Clear on Startup โ Optionally clean up leftover data from your last session
- Total Cookie Protection Ready โ Completely clears cross-site partitioned cookies introduced by Firefox's Strict Enhanced Tracking Protection, leaving zero traces behind (only cookie)
- Manual "Clear Now" โ One-click clearing with full control over what gets removed
- Whitelist mode โ Clear everything except your exempted sites
- Blacklist mode โ Only clear data from sites you specify
- Per-container rules โ Different exemptions for each Firefox Container
- Granular control โ Choose exactly which data types to keep or clear per rule
- Deep Clear โ Also clear parent domain data (e.g.,
accounts.google.comโgoogle.com) - Redirect catching โ Catch and clear sites you quickly pass through
- Deferred clearing โ 3rd-party resources shared across tabs are cleared only when all tabs using them are closed
- Smart dependency tracking โ Automatically tracks iframes and scripts, never clears data still in use
- Container support โ Full Firefox Multi-Account Containers integration with per-container settings
- โ Tab closed โ Last tab of a site is closed
- ๐ค Tab discarded โ Browser unloads inactive tabs
- ๐ Navigation โ You navigate to a different domain
- ๐ Startup โ Optional cleanup from previous session
- Batched API calls reduce browser overhead
- Smart dependency tracking prevents clearing data still in use
- Race-condition-safe architecture
- tabs โ Check if a site is still open before clearing its data
- browsingData โ Actually clear cookies, cache, localStorage, etc.
- storage โ Save your settings and exemption rules
- contextualIdentities โ Support Firefox Containers
- webNavigation โ Detect when you navigate away from a site
- cookies โ Find all cookie names for browser.cookies.remove() api to remove partition cookies
- webRequest โ Track iframes and 3rd-party scripts loaded by pages
- alarms โ Schedule delayed clearing
network.cookie.cookieBehavior = 5), Firefox isolates site data into specific partitions to prevent cross-site tracking.
- Cookies (Fixed): Partitioned cross-site cookies are fully supported and will be safely extracted and eradicated by this extension.
- LocalStorage, IndexedDB and others: Currently, the Firefox WebExtensions API lacks full support for selectively clearing partitioned data (like LocalStorage and IndexedDB) by hostname. As a result, cross-site partitioned folders for these types might not be completely cleared.
- Workaround (Not recommended): If you rely heavily on this extension to clear all cross-site storage, you can adjust your Enhanced Tracking Protection settings to Custom and select Cross-site and social media trackers (
network.cookie.cookieBehavior = 4).
.metadata-v2 Files
After the extension clears a site's data, you might notice that an empty directory containing a .metadata-v2 file remains (e.g., in /storage/default/).
- Privacy Safe: Please rest assured that the actual data payload is completely safely cleared. The
.metadata-v2file is strictly an internal bookkeeping file managed by Firefox's QuotaManager. Websites have zero access to this file, meaning it cannot be used for tracking or as a supercookie. - Why it's not deleted: Due to security sandboxing, WebExtensions do not have the filesystem permissions required to delete Firefox's internal root folders or metadata files.
Written by Joobi from the project's own listing. See the source page
25 Nov 2026
Version 3.19.3 released. Not scanned yet.
26 Oct 2025Listed on Joobi from Firefox Add-ons.
Follow this listing's changes (Atom feed)