Awesome Open Source
Awesome Open Source
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 configurations
  • 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 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 Discussions and/or 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

If there are any bugs that only a certain browser has, and you have the fix for it, feel free to submit a PR for it, as long as it does not affect the functionality to other browsers. The easiest is to wrap your bugfix with check for that browser.

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.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
typescript (11,579
chrome (466
firefox (316
webextension (102
cookie (67
google-chrome (48
cookies (43
mozilla-firefox (17