Firefox 浏览器附加组件
登录
Auto-Clear Site Data 预览

Auto-Clear Site Data 作者: 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 📱.

4.7(3 条评价)4.7(3 条评价)
19 个用户19 个用户
下载 Firefox
下载文件

扩展元数据

屏幕截图
PopupPopupSettings page
关于此扩展
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
  • 🤖 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 → clear google.com too)
  • 🔀 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.
评分 4.7(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
2
4
1
3
0
2
0
1
0
阅读全部 3 条评价
权限与数据

必要权限:

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

可选权限:

  • 向您显示通知
  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
版本
3.10.5
大小
116.48 KB
上次更新
4 小时前 (2025年12月8日)
相关分类
  • 隐私和安全
许可证
保留所有权利
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
标签
  • anti tracker
  • container
  • privacy
  • security
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

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