Extension that deletes cookies as soon as the tab closes.
Clone or download
mrdokenny Merge pull request #408 from zedug/patch-1
Update libs.js for Opera Support
Latest commit 38cb6bb Jul 1, 2018

README.md

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)

Usage

  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

Contributing

Internationalization (i18n)

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

Contributing code

Requirements
  • 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
Development
  • 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
Testing
  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
Building
  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