Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
DailyCacheCleaner 预览

DailyCacheCleaner 作者: tac25

指定した時刻に履歴、キャッシュを自動削除します。 Cookieはオプションになっています。 3分後にテスト実行で短時間で動作確認ができるようになっています。 毎日自動的に実行されるのでブラウザを軽快に保つことができます。

0(0 条评价)0(0 条评价)
1 个用户1 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
关于此扩展
开发者留言
本拡張機能の技術仕様と動作メカニズム:
1. アーキテクチャとAPI要件:
本拡張機能は Manifest V3 規格に基づいて開発されています。
主な処理には browser.browsingData、browser.alarms、browser.storage、および browser.notifications API を使用しています。
  1. バックグラウンド処理とスケジューリング:
    バックグラウンドスクリプト(background.js)は browser.alarms API を利用して、ユーザーが指定した実行時刻(例: 09:00, 12:00 等)およびテスト用アラームを保持・監視します。
    アラームが発火すると、browsingData.remove() 関数が呼び出され、閲覧履歴(history)、キャッシュ(cache)、ストレージ(indexedDB / localStorage)、およびフォーム自動入力データ(formData)の削除処理がローカル上で実行されます。
    Cookie の削除処理はオプション化されており、ユーザーが設定画面で有効にした場合のみ実行される仕様となっています。
  2. データ保存とクロスブラウザ互換性:
    ユーザーのスケジュール設定およびオプションフラグは、すべて browser.storage.local 内に安全に保持されます。
    Chrome / Gecko(Firefox)間の API 名前空間の差分を吸収するため、typeof browser !== "undefined" ? browser : chrome の互換ラッパーを実装しています。

4.セキュリティとプライバシー:
リモートコードの動的ロード、eval() などの動的実行構文、外部ライブラリは一切使用していません。
ユーザーデータの収集、ログ解析、外部サーバーへの通信処理は含まれておらず、すべてのロジックは完全なローカル環境で完結します。

Technical Details & Architecture:
1. Architecture & API Usage:
Built on Manifest V3 using standard WebExtensions APIs: browser.browsingData, browser.alarms, browser.storage, and browser.notifications.
  1. Background Execution & Scheduling:
    The persistent logic in background.js manages scheduled cleanup jobs using the browser.alarms API based on user-defined hours.
    Upon alarm triggers, browsingData.remove() clears browsing history, cache, storage (IndexedDB/LocalStorage), and form auto-fill data locally.
    Cookie deletion is configurable and disabled by default, executing only when explicitly checked by the user.
  2. Data Persistence & Cross-Browser Compatibility:
    User schedule preferences and settings are stored locally using browser.storage.local.
    Includes a runtime API wrapper (typeof browser !== "undefined" ? browser : chrome) to ensure standard execution across both Chromium and Gecko engines.
  3. Security & Privacy:
    No remote code execution, no dynamic evaluation (eval), and zero third-party dependencies.
    Operates strictly offline without collecting or transmitting any user data.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 清除最近的浏览历史、Cookie 及有关数据
  • 向您显示通知

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 用户支持网站
  • 支持邮箱
  • 复制附加组件 ID
版本
1.1
大小
34.1 KB
上次更新
1 个月前 (2026年10月19日)
相关分类
  • 其他
许可证
Mozilla 公共许可证 2.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

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