Auto delete cookies when you close a tab.
Cookies, localStorage, IndexedDB, cache and service workers of the closed site, gone. Sites you trust stay logged in. Free and open source.
Install from the Chrome Web Store · Privacy policy · Report an issue
Close the last tab of a site, and CrumbClear deletes the cookies and site data it left behind. Trackers embedded on that site go with it. Sites you put on your Keep list are never touched, so you stay logged in where it matters.
It started as a replacement for Cookie AutoDelete, which stopped working when Chrome turned off Manifest V2 extensions. You can import your old lists in one step.
- In Cookie AutoDelete, open Settings and choose Export.
- Install CrumbClear. The settings page opens on its own.
- Under Import and export, choose Import lists… and pick the exported file.
- Pick any other sites to keep, then turn on auto-clean.
CrumbClear is an independent project, not affiliated with Cookie AutoDelete.
CrumbClear cleans up after a site is closed. It does not stop malware or another extension on your computer from taking a session while the site is open, it does not block trackers while a page is open, and it does not hide your IP address. Pair it with a content blocker if you want that. What it does: a site and its trackers find nothing when you come back, and a one-time copy of your browser data holds only the sites you keep.
- No servers, no analytics, no ads, no network requests. A strict Content Security Policy blocks network access from the extension's pages.
- "Report a problem" opens a GitHub issue in a new tab, and after uninstalling Chrome opens a short feedback page. Both are ordinary pages that carry only the version number.
- Settings, lists and the activity log stay on your device in
chrome.storage. Cookies for Undo are held in memory only, for 10 minutes. - No content scripts: the extension never reads the pages you visit.
Full policy: privacy.html.
- Chrome Web Store: CrumbClear: Auto Delete Cookies on Tab Close.
- From source: run
scripts/build.sh, unzipdist/crumbclear-<version>.zip, openchrome://extensions, turn on Developer mode, click Load unpacked and choose the unzipped folder.
Development
src/background.js— service worker: tab events, cleanup, badge, popup messagessrc/lib.js— pure decision logic (what to delete, list matching, imports)src/popup.*,src/options.*,src/ui.css— UI;src/i18n.jsand_locales/— translationssrc/vendor/tldts.js— Public Suffix List (tldts 7.4.18, MIT), somail.google.comandaccounts.google.comcount as one sitetest/— Node tests;scripts/build.sh— store zipprivacy.html— privacy policy;index.html— landing page;LISTING.md— store listing text;store/— store images;icons/src/— icon sources
node --test test/*.test.mjs
scripts/build.sh
background.test.mjs runs the real service worker against an in-memory fake of the chrome APIs; pages.test.mjs runs the popup and options scripts against a small fake DOM. The build runs the tests and writes a zip with only manifest.json, the four icons, _locales/ and src/.
MIT, see LICENSE.