Auto-Clear Site Data by byuserforuser
Finally!!! successor to `Cookie AutoDelete` extension |🧹 Automatically clears site data (cookies, local storage, IndexedDB, Cache, SW) when you close a site's last tab, with full support for Firefox Containers 📦 and Firefox for Android 📱.
18 Users18 Users
Extension Metadata
Screenshots
About this extension
Auto-Clear Site Data
Automatically clears website data (cookies, localStorage, indexedDB, cache, service workers) when you leave a site — by closing tabs, navigating away, or when tabs are discarded — helping you maintain privacy and free up storage. 🧹✨
🎯 Key Features
⏱️ Smart Automatic Clearing
🛡️ Advanced Privacy Controls
🗂️ Firefox Container Support
🧠 Smart Dependency Tracking
🔧 Developer-Friendly
🚪 When Data Gets Cleared
The extension clears data when you leave a site through:
🏗️ Technical Highlights
⚙️ Race Condition Elimination
🚀 Heavily Optimized Performance
🎭 Edge Case Handling
📱 Cross-Platform
🎯 Perfect For
🔒 Privacy First
100% local processing. Your settings, exemption lists, and browsing habits are never transmitted, shared, or analyzed. All data stays on your device.
Automatically clears website data (cookies, localStorage, indexedDB, cache, service workers) when you leave a site — by closing tabs, navigating away, or when tabs are discarded — helping you maintain privacy and free up storage. 🧹✨
🎯 Key Features
⏱️ Smart Automatic Clearing
- 🤖 Clears data automatically after a configurable delay (0-3600 seconds) when you exit a site
- ⚡ Supports instant clearing (0 seconds) for immediate privacy
- 🚀 Optional "Clear on Startup" to clean sites from your previous session
- 🎮 Manual "Clear Now" with granular control over which data types to clear
🛡️ Advanced Privacy Controls
- 🎚️ Whitelist/Blacklist Modes: Clear everything except specific sites, or only specific sites
- 📊 Granular Data Types: Choose exactly what to clear — cookies, localStorage, sessionStorage, indexedDB, cache, service workers
- 🔍 Deep Clear: Optionally clear parent domain data (e.g., clear
accounts.google.com→ cleargoogle.comtoo) - 🔀 Redirect Catching: Clears data from sites you navigated through quickly (configurable X-step detection)
🗂️ Firefox Container Support
- 📦 Full support for Firefox Multi-Account Containers
- 🎯 Per-container exemption rules
- 🔐 Independent container-scoped vs. global data clearing
🧠 Smart Dependency Tracking
- 🕸️ Automatically tracks and clears sub-frames (iframes) and 3rd-party scripts
- ⏳ Deferred clearing for shared resources across tabs
- 🛑 Never clears data that's still in use by other tabs
🔧 Developer-Friendly
- 🔴 Real-time badge showing pending clears count
- 📝 Optional console logging
- 🪵 Built-in page logger for debugging
🚪 When Data Gets Cleared
The extension clears data when you leave a site through:
- ❌ Tab Close — Closing the last tab of a website
- 💤 Tab Discard — Browser unloads inactive tabs
- 🔀 Navigation — Navigating to a different domain
- 🚀 Startup — Optional cleanup of sites from previous session
🏗️ Technical Highlights
⚙️ Race Condition Elimination
- 🔒 Advanced locking mechanisms prevent data corruption during concurrent operations
- 🎯 Sharded domain index architecture isolates container operations
- 🔄 Multi-layered safety checks detect tabs opening during async operations
🚀 Heavily Optimized Performance
- 📈 Batched API calls reduce browser overhead by 95%
- 💾 O(1) lookups with Map/Set data structures (100-400x faster)
- 🎨 Debounced I/O reduces storage writes by 80%
- ⚡ Lazy loading for smooth UI with 1000+ rules
- 🚀 Parallel startup — 60-70% faster extension startup
🎭 Edge Case Handling
- 🌏 IPv6 address support
- 🔁 Meta-refresh and client-side redirect detection
- 👻 "Ghost page" dependency tracking
- 🔀 Cross-container global data management
📱 Cross-Platform
- 🦊 Firefox Desktop
- 📱 Firefox Android
🎯 Perfect For
- 🕵️ Privacy-conscious users wanting automatic cleanup
- 🎨 Multi-container power users managing multiple identities
- 💾 Anyone wanting to free up browser storage automatically
- 👨💻 Developers testing different login states and scenarios
🔒 Privacy First
100% local processing. Your settings, exemption lists, and browsing habits are never transmitted, shared, or analyzed. All data stays on your device.
Rated 4.5 by 2 reviewers
Permissions and data
Required permissions:
- Clear recent browsing history, cookies, and related data
- Access browser tabs
- Access browser activity during navigation
Optional permissions:
- Display notifications to you
- Access your data for all websites
Data collection:
- The developer says this extension doesn't require data collection.
More information
- Version
- 3.10.4
- Size
- 116.42 KB
- Last updated
- an hour ago (Dec 6, 2025)
- Related Categories
- License
- All Rights Reserved
- Privacy Policy
- Read the privacy policy for this add-on
- Version History
- Add to collection