(Cookie AutoDelete extension, with small modification that adds a regex URL match to possible greylist/whitelist selections.)
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.
This is a fork from the original project that adds one thing only: when whitelisting or greylisting a domain, the popup window offers a ready regex pattern that can be used instead of the domain name, since this addon supports regex patterns.
The reason for making this fork is mainly for myself as I want my expressions in regex, and I often have multiple domains in the same expression, which is only possible via regex. This way you can set a ruleset for multitude of domains in one rule.
- 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)
- Add the sites you want to keep cookies for to the whitelist (permanently) or greylist (until browser restart)
- Enable "Automatic Cleaning" in settings or "Auto-Clean" in popup
- Watch those unused cookies disappear :)
-
[Google Chrome][link-cws]
-
[Mozilla Firefox][link-amo]
-
[Microsoft Edge Chromium][link-edge]
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.
Donations are done through Liberapay/PayPal. If this webextension has helped you in any way, we would appreciate 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.
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.
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.
- Latest version of Node.js
npm install
- Installs all dependenciesnpm 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 filesnpm test
- Runs the test suite located in/test
npm run build
- Builds the Firefox (.xpi/.zip) and Chrome (.zip) builds
- Run
npm install
(if you haven't already) - Run
npm run dev
- 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
- In the extension tab, enable Developer Mode, then
- Run
npm install
(if you haven't already) - Run
npm run build
- The build files should be in a new folder called
/builds
Full documentation can be found in the wiki.