Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
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 📱.

可在 Android™ 版 Firefox 上使用可在 Android™ 版 Firefox 上使用
4.5(2 条评价)4.5(2 条评价)
4 个用户4 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
PopupPopupSettings page
关于此扩展
Automatically clears website data (cookies, localStorage, indexedDB, cache, service workers, etc.) when you leave a website — whether by closing tabs, navigating away, or discarding tabs — helping you maintain privacy and free up storage. 🧹✨

🎯 Key Features:

⏱️ Smart Clearing System:
  • 🤖 Automatically clears data after configurable delay (0-3600 seconds) when you exit a site (tab close, tab discard, or navigation)
  • ⚡ Supports immediate clearing (0 seconds) for instant privacy
  • 🚀 Optional "Clear on Startup" for sites from previous session
  • 🎮 Manual "Clear Now" with granular control over data types

🛡️ Advanced Privacy Controls:
  • 🎚️ Whitelist/Blacklist Modes: Choose to clear everything except specific sites, or only specific sites
  • 📊 Granular Data Type Control: Select exactly which data to clear (cookies, localStorage, sessionStorage, indexedDB, cache, service workers, etc.)
  • 🔍 Deep Clear: Optionally clear parent domain data
  • 🔀 Redirect Catching: Clear data from sites you navigated through quickly (2-step navigation detection)

🗂️ Firefox Container Support:
  • 📦 Full support for Firefox Multi-Account Containers
  • 🎯 Per-container exemption rules
  • 🔐 Container-specific data clearing

🧠 Smart Dependencies Tracking:
  • 🕸️ Automatically tracks and clears sub-frames (iframes) and 3rd-party scripts
  • ⏳ Deferred clearing for shared resources across tabs
  • 🛑 Prevents clearing data still in use by other tabs

🔧 Developer-Friendly:
  • 🔴 Real-time badge showing pending clears
  • 📝 Optional console logging
  • 🪵 In-page logger for debugging

🚪 Trigger Events (When Data Gets Cleared):

The extension intelligently clears data when you leave a site through:
  • ❌ Tab Close - Closing the last tab of a website
  • 💤 Tab Discard - Browser automatically unloads inactive tabs
  • 🔀 Navigation - Leaving a site by navigating to a different domain
  • 🚀 Browser Startup - Optional cleanup of sites from previous session

🏗️ Technical Highlights:

This extension tackles several complex browser engineering challenges:

⚙️ Race Condition Elimination:
  • 🔒 Advanced locking mechanisms to prevent data corruption during concurrent tab operations
  • 🎯 Sharded domain index architecture to isolate container operations
  • 🔄 Multi-layered "Race Catch" logic to detect tabs opening during async operations

🚀 Performance Optimization:
  • 📈 Batched API calls reduce browser overhead by 95%
  • 💾 Smart caching with Map/Set data structures for O(1) lookups (100-400x faster than arrays)
  • 🎨 Debounced I/O operations reduce storage writes by 80%
  • ⚡ Lazy loading for UI rendering with 1000+ rules

🧩 Advanced Architecture:
  • 🗃️ Persistent dependency tree survives browser crashes
  • 🌐 Public Suffix List (PSL) integration for accurate domain parsing
  • 🔄 Two-tier exemption cache with compiled regex patterns
  • 📊 Session persistence with comprehensive state tracking

🎭 Edge Case Handling:
  • 🌏 IPv6 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 who want automatic cleanup
  • 🎨 Multi-container power users managing multiple identities
  • 💾 Anyone wanting to free up browser storage automatically
  • 👨‍💻 Developers testing different login states and browser scenarios

📊 Performance Metrics:

The extension has been heavily optimized through multiple iterations:
  • ⚡ Startup time: 65% faster (200-800ms vs 600-2200ms)
  • 🚀 Lookup operations: 100-400x faster with Map/Set
  • 💾 Storage I/O: 80% reduction via debouncing
  • 🔒 Race conditions: 100% eliminated with granular locking

Privacy First

All processing is done 100% locally on your device. Your settings, exemption lists, and browsing habits are never transmitted, shared, or analyzed.
评分 4.5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

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

必要权限:

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

可选权限:

  • 访问您在所有网站的数据

收集的数据:

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

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

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

本站内容以知识共享署名-相同方式共享 v3.0 或任何更新版本授权(除非另有注明)。Android 系 Google LLC 的商标。