Auto-delete cookies when you close tabs. The MV3 replacement for Cookie AutoDelete.
Cookie AutoDelete was the go-to extension for automatic cookie cleanup. When Chrome killed Manifest V2, CAD died with it — their README literally says "MV3 makes this extension impossible as designed."
TabWipe is built from scratch for MV3. No legacy code, no workarounds.
- Close a tab → TabWipe checks if you still have that domain open in another tab
- No other tabs? → Cookies for that domain are automatically deleted after a 5-second delay
- Whitelisted? → Cookies are kept safe
That's it. Simple, reliable, private.
The key insight: CAD's architecture was "impossible" to port because it relied on persistent background pages and in-memory state. TabWipe takes a different approach:
chrome.tabs.onRemoved— Event-driven, wakes the service worker on tab closechrome.tabs.query({})— Rebuilds state from scratch every time, never trusts memorychrome.alarms— Fallback sweep every 5 min catches anything missed during SW sleepchrome.storage— All config persists across SW restarts
Core logic is ~500 lines. Service worker goes to sleep? Fine, everything rebuilds on wake.
- ✅ Auto-delete cookies on tab close
- ✅ Per-domain whitelist (synced across devices)
- ✅ Live cookie count badge
- ✅ Deletion statistics
- ✅ Dark/light mode
- ✅ Wildcard & regex domain rules
- ✅ Smart tracking cookie detection
- ✅ Per-cookie granularity
- ✅ Scheduled cleanup (age-based rules)
- ✅ Import/export configuration
- ✅ Detailed statistics dashboard
Install TabWipe → (link coming soon)
git clone https://github.com/4ier/tabwipe.git- Open
chrome://extensions - Enable "Developer mode"
- Click "Load unpacked" → select the
tabwipefolder
Zero data collection. No analytics, no telemetry, no phone-home. All data stays in your browser. Full privacy policy →
tabwipe/
├── manifest.json # MV3 manifest
├── background.js # Service worker (~540 lines)
├── lib/
│ ├── cookie-manager.js # Cookie CRUD
│ ├── tab-tracker.js # Open tab → domain mapping
│ ├── whitelist.js # Whitelist management
│ ├── rules-engine.js # Pro: advanced rules
│ ├── license.js # Pro: license validation
│ ├── stats.js # Deletion statistics
│ └── storage.js # Storage abstraction
├── popup/ # Extension popup UI
├── options/ # Settings page
└── docs/ # Landing page (GitHub Pages)
MIT