Firefox Browser Add-ons
Log in
Add-on icon

Auto-Clear Site Data version history - 6 versions

Auto-Clear Site Data by byuserforuser

Rated 4.5 out of 5
4.5 Stars out of 5
5
1
4
1
3
0
2
0
1
0
Auto-Clear Site Data version history - 6 versions
  • Be careful with old versions! These versions are displayed for testing and reference purposes.You should always use the latest version of an add-on.

  • Latest version

    Version 3.4.2

    Released Nov 22, 2025 - 108.35 KB
    Works with firefox 109.0a1 and later, android 120.0 and later
    3.4.2
    • fix minor bugs

    Source code released under All Rights Reserved

    Download Firefox
    Download file
  • Older versions

    Version 3.4.1

    Released Nov 22, 2025 - 108.22 KB
    Works with firefox 109.0a1 and later, android 120.0 and later
    v3.4.1
    • Unsafe assignment to innerHTML

    v3.4.0 - Performance & Memory Optimization

    Core Feature: Discarded Tab Filtering
    * Smart Detection: Added isDiscarded parameter to addActiveSessionSite() to skip processing of discarded (sleeping) tabs.
    * Navigation: webNavigation.onCommitted now verifies and transmits tab.discarded status.
    * Tab Lifecycle: tabs.onReplaced checks the new tab's status, and tabs.onActivated properly re-adds tabs only when restored from a discarded state.

    Critical Bug Fixes
    * onInstalled Logic: Fixed a bug where isDiscarded was missing, causing the extension to track every tab (even sleeping ones) during updates.
    * onStartup Rebuild: Fixed an issue where activeSessionSites were cleared but not rebuilt. Added a query to rebuild the session list from current tabs immediately after startup clear.
    * Reload Handling: Changed event condition from install || update to !== 'browser_update' to correctly handle extension reloads.

    Improvements & Results
    * Settings Loader: Added 10s timeout protection and enhanced logging.
    * UI: Added spacing to options.html and updated Startup Clear descriptions.
    * Performance: Reduced storage tracking from 45+ mixed tabs to ~10 unique hostnames. Solved storage bloat and slow startup issues.



    v3.3.1 - Edge Case Stability
    • Extension Reload Fix: Addressed stale data in activeSessionSites when reloading the extension. It now properly identifies open tabs to prevent accidental data loss if the browser is closed immediately after an update.
    • Redirect Handling: Refined webRequest.onBeforeRedirect. Sub-frames and scripts are now processed and cleared independently. If the Main Frame is skipped (due to loop protection), dependencies are still cleaned.



    v3.3.0 - OAuth Protection & Badge Accuracy

    1. Redirect Loop Protection (OAuth Fixes)
    Prevents the extension from breaking logins (e.g., Google/Facebook) by clearing the current site during redirects.
    * webNavigation.onCommitted: Skips main frame cleaning if the root domain matches the current site.
    * webRequest.onBeforeRedirect: Skips cleaning if the root domain matches the redirect target.
    * Dependencies: Moved sub-frames/scripts logic out of the else block. They are now cleared even if the main frame is preserved.

    2. Badge Count Accuracy
    Fixed a bug where the badge showed inflated numbers (e.g., 33) for only a few items.
    * Implemented decrementPendingCount when items are skipped, deferred, or canceled (in onBeforeRedirect and logic checks).

    3. Active Session Cleanup
    * Fixed orphan entries in activeSessionSites caused by discarded tabs.
    * Implemented removeActiveSessionSite and updated addActiveSessionSite (with cookieStoreId support) to ensure the internal list perfectly matches the browser state.

    Source code released under All Rights Reserved

    Download file
  • Version 3.2.0

    Released Nov 22, 2025 - 106.5 KB
    Works with firefox 109.0a1 and later, android 120.0 and later
    3.2.0
    • fix bugs
    • optimize

    Source code released under All Rights Reserved

    Download file
  • Version 3.1.1

    Released Nov 21, 2025 - 106.47 KB
    Works with firefox 109.0a1 and later, android 120.0 and later
    🔧 v3.1.1: Reliability Fixes
    • Critical Fix: Fixed a serious bug where data was sometimes cleared even if the tab was still open. The extension now correctly detects which tabs are active to prevent accidental data loss.
    • Smoother Operation: Improved how the extension handles page redirects and background cleaning tasks for better stability.

    🚀 v3.1.0: Instant Clear & Precision
    • Instant Clear (0 Seconds): You can now set the cleaning delay to "0 seconds". The system will clean data immediately after you close a tab, without waiting.
    • Better Redirect Cleaning: If a website redirects you to another page, the previous page's data is now cleaned up immediately and more accurately.
    • Bug Fixes: Fixed an issue where settings could lag on some devices and reduced overall resource usage.

    🎨 v3.0.0: Major Redesign & Speed Boost
    • New Look (UI/UX): A cleaner, more organized interface. The "Save" button is now smarter—it only appears when you actually make changes, reducing clutter.
    • Much Faster: The extension now starts up 65% faster and finds data instantly.
    • Rock-Solid Stability: Completely rewrote the core logic to ensure 100% cleaning accuracy, even when closing many tabs at once.
    • New Features:
      • Global Modes: Easily switch between "Clear Everything Except..." and "Clear Only..." modes.
      • Clear Now: A new menu that lets you choose exactly what to clean (Cookies, Storage, etc.) on demand.

    🧠 v2.0.x: Smarter & lighter
    • Smart Deferral (Wait for Last Tab):
      • If you have multiple tabs open for the same service (e.g., Gmail and Google Drive), the extension will wait until you close the last tab of that group before clearing your login data. No more accidental logouts!
    • Battery & Resource Friendly: Optimized background processes to write to the hard drive less often, making your computer run smoother and extending SSD life.

    Source code released under All Rights Reserved

    Download file
  • Version 2.0.0

    Released Nov 16, 2025 - 92.41 KB
    Works with firefox 109.0a1 and later, android 120.0 and later
    Update to MV3 (and other updates)

    Summary:
    - Prevents memory leaks
    - Improves optimization
    - Better handles edge cases

    Source code released under All Rights Reserved

    Download file
  • Version 1.44.4

    Released Nov 9, 2025 - 90.57 KB
    Works with firefox 58.0 and later, android 120.0 and later
    Critical Bug Fixes & Stability

    Fixed several critical race conditions (v1.44.0-1.44.3) where the extension failed to check for active sub-frames (iframes). This fundamental flaw caused global data (Cache, Service Workers) and container data to be cleared prematurely, even when still in use by another tab. The active-domain checks are now robust, sub-frame aware, and correctly handle edge cases, preventing data from being destroyed.

    Made the "Force Clear" feature (v1.44.4) safer. It now checks all dependencies (like scripts and frames) individually before deleting, preventing it from clearing data used by other unrelated tabs.

    Addressed startup race conditions (v1.44.4) to ensure correct fail-safe settings and proper dependency restoration on browser launch, preventing momentary malfunctions.

    Performance Optimizations

    Significantly improved data clearing speed by batching API calls (v1.44.1). Instead of clearing 50 hosts with 100+ separate, slow API calls, the extension now groups them into just a few parallel operations.

    Massively improved UI responsiveness by using DocumentFragment (v1.44.0, v1.44.4). This prevents the Options page and Popup from freezing when rendering lists for users with hundreds of rules.

    Optimized "Deep Clear" (v1.44.0) to scan cookies in parallel and stopped unnecessary session saving (v1.44.4) to reduce disk writes when the startup-clear feature is disabled.

    Other Key Improvements
    • Fixed a UI bug in the popup (v1.44.0) where the status text would not update immediately after saving changes.
    • Improved tab-refresh logic (v1.44.4) to correctly refresh tabs if one of their sub-frames (not just the main frame) was cleared.
    • Added support for IPv6 literals (v1.44.0).
    • Removed redundant code and translated all internal console logs to English for consistency.

    Source code released under All Rights Reserved

    Download file
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

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 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.