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
- Add the sites you want to keep cookies for to the whitelist (permanently) or greylist (until browser restart)
- Enable “Active Mode” in the popup or settings
- Watch those unused cookies disappear :)
Other versions
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 donpm run dev
) - Latest version of Node.js
Development
npm install
- Installs all dependenciesnpm 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 filesnpm test
- Runs the test suite located in/test
npm run build
- Builds the Firefox (.xpi) and Chrome (.zip) builds
Testing
- 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
Building
- Run
npm install
(if you haven't already) - Run
npm run build
- The build files should be in a new folder called
/builds