Skip to content

Firefox and Chrome WebExtension that deletes cookies and other browsing site data as soon as the tab closes, domain changes, browser restarts, or a combination of those events.

License

Whoerr/Cookie-AutoDelete

 
 

Repository files navigation

Latest Release Tests Latest Release Development Tests Dependencies Localization Coverage
Tagged Release Distribution Node.js CI Tests dependencies Status devDependencies Status Crowdin Coverage Status codecov

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 "Automatic Cleaning" in settings or "Auto-Clean" in popup
  3. Watch those unused cookies disappear :)

Installation

via Official Channels

via Self Installation

Please keep in mind that at this time only Mozilla Firefox and Google Chrome (as well as its development branches e.g. Developer Edition, Canary) will be supported. Microsoft Edge Chromium will be considered initially as partially official as it is using the same code as Google Chrome for now. While you may be able to install this extension on other browsers (i.e. Varations of Edge, Chrome, Firefox, Android), there will be no official support from the authors and maintainers through Github Issues.

Contributing

Donations

Donations are done through Liberapay/PayPal. If this webextension has helped you in any way, we would appreate a small donation to assist in our efforts to make this even better. Note that although Liberapay has recurring donation model, you can opt to 'manually' donate a one time amount as well.

Internationalization (i18n)

Translate Cookie AutoDelete in your language or help fix a translation on Crowdin! Some translations were taken from Machine Translations - if you believe there is a better translation for them, please submit an updated translation and raise an issue through CrowdIn.

Contributing code

Requirements

  • 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.ts, popup, and setting items 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/.zip) 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

Documentation

Full documentation can be found in the wiki.

About

Firefox and Chrome WebExtension that deletes cookies and other browsing site data as soon as the tab closes, domain changes, browser restarts, or a combination of those events.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.6%
  • JavaScript 6.8%
  • CSS 1.2%
  • Other 0.4%