Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,337 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-Delete Cookies for Privacy

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.

What it does

  • 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

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").

Usage

  1. Mark the sites whose cookies you want to keep as Keep, or Keep until browser closes if they should only survive the session
  2. Turn on automatic cleaning (in the settings page, or the toggle in the popup)
  3. Browse normally -- cleanup runs by itself a few seconds after you close a site's last tab

Support

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.

Development

Requirements: Bun >= 1.3 and just.

  • just install - Install all dependencies
  • just dev - Watch mode: rebuilds bundles into /extension on change
  • just build - One-shot build
  • just check - Type-check
  • just lint - Lint
  • just test - Run the test suite
  • just package_zip - Build and zip the extension into /builds
  • just ci - Everything CI runs, in order

Load /extension as an unpacked extension to test.

Contribution guidelines (branch rules, test expectations): CONTRIBUTING.md.

Privacy

This extension doesn't collect any data. There isn't any tracking. See the Privacy Policy for details.

Internationalization

The extension ships localized in 30+ languages.

License

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.