Extension that deletes cookies as soon as the tab closes.
Branch: 3.X.X-Branch
Clone or download
mrdokenny Merge pull request #494 from kennethtran93/3.X.X-Branch
Version Number and Log Timezone Name Additions
Latest commit 56cc167 Feb 16, 2019


Build Status Coverage Status Crowdin

Cookie AutoDelete

Control your cookies! This extension is inspired by Self-Destructing Cookies. When a tab closes, any cookies not being used are automatically deleted. Prevent tracking by other cookies and add only the ones you trust. Easily import and export your cookie whitelist.

Main features

  • Automatically deletes cookies from closed tabs
  • Whitelist/Greylist support for cookies
  • Easily export/import your whitelist
  • Clear all cookies for a domain
  • Supports manual mode cleaning from the popup
  • Easily see the number of cookies for a site
  • Support for Container Tabs (Firefox 53+ only)


  1. Add the sites you want to keep cookies for to the whitelist (permanently) or greylist (until browser restart)
  2. Enable “Active Mode” in the popup or settings
  3. Watch those unused cookies disappear :)

Other versions

Google Chrome

Mozilla Firefox


Internationalization (i18n)

Translate Cookie AutoDelete in your language or help fix a translation on Crowdin!

Contributing code

  • Bash (cause there's some .sh scripts, otherwise you can't do npm run build, but can still do npm run dev)
  • Latest version of Node.js
  • npm install - Installs all dependencies
  • npm run dev - This will run the webpack watcher and automatically pack /src/background.js and its dependencies to /extension
  • npm run lint - Runs the eslinter for JS files
  • npm test - Runs the test suite located in /test
  • npm run build - Builds the Firefox (.xpi) and Chrome (.zip) builds
  1. Run npm install (if you haven't already)
  2. Run npm run dev
  3. Load the extension in the browser
  • Firefox

    • Easiest way would be to run the tool web-ext
    • Another way is go into about:debugging and load /extension/manifest.json
  • Chrome

    • In the extension tab, enable Developer Mode, then load unpacked extension and load the /extension folder
  1. Run npm install (if you haven't already)
  2. Run npm run build
  3. The build files should be in a new folder called /builds