This is a browser extension for Chrome, Brave, and Firefox that automatically deletes cookies and other site data when you close tabs, except for sites that you mark as safe.
- Deletes cookies (and other site data) from a site shortly after its last tab closes
- Two kinds of keep rules: Keep (never cleaned) and Keep until browser closes
- Optionally clears other leftovers too: LocalStorage, IndexedDB, cache, service workers, plugin data
- One-click manual cleanup for the current site from the popup or right-click menu
- Toolbar badge shows how many cookies the current site has set
- Keep rules support wildcards and regular expressions, and can be exported/imported as files
Firefox users: this extension is available on addons.mozilla.org, and each Firefox container can have its own keep rules.
Install it from the Chrome Web Store for Chrome, Brave, and other Chromium browsers, or from addons.mozilla.org for Firefox.
Manual fallback: download the zip from the latest release, unzip it, and load the folder from chrome://extensions with Developer mode enabled ("Load unpacked").
- Mark the sites whose cookies you want to keep as Keep, or Keep until browser closes if they should only survive the session
- Turn on automatic cleaning (in the settings page, or the toggle in the popup)
- Browse normally -- cleanup runs by itself a few seconds after you close a site's last tab
If anything doesn't work or you have feature requests, please create an issue, and I'll try to get it fixed within 48 hours.
Requirements: Bun >= 1.3 and just.
just install- Install all dependenciesjust dev- Watch mode: rebuilds bundles into/extensionon changejust build- One-shot buildjust check- Type-checkjust lint- Lintjust test- Run the test suitejust package_zip- Build and zip the extension into/buildsjust ci- Everything CI runs, in order
Load /extension as an unpacked extension to test.
Contribution guidelines (branch rules, test expectations): CONTRIBUTING.md.
This extension doesn't collect any data. There isn't any tracking. See the Privacy Policy for details.
The extension ships localized in 30+ languages.
MIT. Original work copyright (c) 2017-2022 Kenny Do and CAD Team; fork modifications copyright (c) 2026 j127. See LICENSE.
Auto-Delete Cookies for Privacy is a fork of Cookie AutoDelete (CAD) which was removed from the Chrome Web Store when Manifest V2 support ended (attribution in LICENSE). It has been rebuilt for Manifest V3 (along with other changes), and it runs on Chrome, Brave, and other Chromium browsers as well as Firefox.