Advanced privacy extension that intelligently clears tracking data while preserving your login sessions.
A privacy-focused Chrome/Firefox extension that automatically detects and removes tracking cookies while protecting your authenticated sessions. Smart session detection means zero configuration — the extension just works.
- Automatic login detection — recognizes session/auth cookies without any user setup
- Zero-configuration privacy — identifies 150+ auth cookie patterns (Google, GitHub, Facebook, OAuth, etc.)
- Never logs you out — preserves your active sessions while removing trackers
- Detects auth cookies by:
- Name patterns (session, auth_token, JWT, platform-specific identifiers)
- HttpOnly flag (indicates server-set auth cookies)
- SameSite attributes (Strict/Lax = auth, Lax/None = tracking)
- Long expiration dates (weeks/months = "remember me" logins)
- One-click cleanup for the current website
- Support for HTTP and HTTPS cookies
- Domain and subdomain cookie removal
- Automatic tracker removal on page navigation
- Selective session preservation — removes tracking without logging you out
- Clear Local Storage
- Clear Session Storage
- Remove IndexedDB databases
- Clear Cache Storage
- Unregister Service Workers
- Remove accessible website storage data
- Live session detection display (🔒 Logged in status)
- Cookies removed counter
- Domains cleaned counter
- Storage items removed counter
- Real-time cleanup reports
- Enable/disable extension functionality
- Quick-access cleanup buttons
- Four cleanup modes:
- Auto-clean (on navigate) — removes trackers only
- Clear Current Site — removes non-auth cookies
- Clear All Cookies — full cleanup with confirmation
- Nuke All — nuclear option, full wipe
- Built-in debug mode
- Detailed cleanup reports
- Error logging and diagnostics
- Background activity monitoring
- ✅ Manifest V3 — modern, secure extension architecture
- ✅ No remote code execution — all code runs locally
- ✅ No external scripts — zero dependencies
- ✅ No data collection — nothing leaves your browser
- ✅ No telemetry — complete privacy
- ✅ Open source — MIT licensed, fully auditable
Install from Microsoft Edge Add-ons
- Clone or download this repository
- Open
chrome://extensions(oredge://extensionsfor Edge) - Enable Developer Mode (toggle in top-right)
- Click Load unpacked
- Select the
cookie-reset-profolder - Extension will appear in your toolbar
- Clone or download this repository
- Open
about:debugging#/runtime/this-firefox - Click Load Temporary Add-on
- Select
manifest.jsonfrom the project folder - Extension will appear in your toolbar
- Click the Cookie Reset Pro icon
- Toggle Enable to activate
- Visit a website
- Click Cookie Reset Pro icon
- Click Clear Current Site — removes tracking cookies, keeps your login
- Click Cookie Reset Pro icon
- Click Clear All Cookies — removes everything (logs you out everywhere)
- Click Cookie Reset Pro icon
- Click Clear All Storage — removes Local Storage, Session Storage, IndexedDB, etc.
Enable in popup settings — automatically removes trackers as you browse (preserves logins)
The popup shows:
- 🔒 Logged In — indicates detected auth cookies
- Tracker count — number of tracking cookies found
- Session pills — shows detected login sessions by domain
| Permission | Purpose |
|---|---|
cookies |
Manage website cookies |
storage |
Save extension settings & stats |
tabs |
Access active tab information |
scripting |
Inject cleanup scripts into pages |
webNavigation |
Monitor tab navigation for auto-cleanup |
browsingData |
Remove browser cache & site data |
"<all_urls>"Allows the extension to operate on all websites.
The extension classifies cookies before cleanup:
Auth/Session Cookies:
- Name matches 150+ patterns (session, auth, JWT, PHPSESSID, etc.)
- Has
HttpOnlyflag (never used by trackers) - Has
SameSite=StrictorSameSite=Lax - Long expiration (7+ days = "remember me")
Tracking Cookies:
- Names like
_ga,_fbp,_gid,__utm*,_hjid, etc. - Typically lack
HttpOnlyflag - Often have
SameSite=None - Short or medium expiration
| Browser | Support | Version |
|---|---|---|
| Chrome | ✅ Full | 88+ |
| Firefox | ✅ Full | 109+ |
| Edge | ✅ Full | 88+ |
| Brave | ✅ Full | Latest |
| Opera | ✅ Full | Latest |
| Vivaldi | Latest |
cookie-reset-pro/
├── manifest.json # Extension configuration
├── background.js # Service worker (session detection, cleanup logic)
├── content.js # Content script (page interaction)
├── injected.js # Injected script (DOM manipulation)
├── popup.html # Popup UI
├── popup.css # Popup styling
├── popup.js # Popup functionality
├── README.md # This file
└── icons/
├── icon16.png # 16x16 icon
├── icon32.png # 32x32 icon
├── icon48.png # 48x48 icon
└── icon128.png # 128x128 icon
# Clone the repository
git clone https://github.com/imdevops/cookie-reset-pro.git
cd cookie-reset-pro
# No build process required — just load into your browserEdit background.js and set:
const CONFIG = {
DEBUG_MODE: true, // Enable debug logging
...
};Monitor the service worker logs in Chrome DevTools:
chrome://extensions- Find Cookie Reset Pro
- Click Service Worker link
- Check the console
Visit these sites and verify the popup shows 🔒 Logged In:
- GitHub (github.com)
- Google (google.com)
- Facebook (facebook.com)
- Twitter/X (twitter.com)
Major Release — Zero-Configuration Privacy
- Automatic session detection — identifies logins without user configuration
- 150+ auth cookie patterns — recognizes Google, GitHub, Facebook, OAuth, platform-specific sessions
- Smart cleanup modes:
- Auto-clean on navigate (trackers only, preserve logins)
- Clear current site (preserve auth)
- Clear all cookies (full logout)
- Nuke all (nuclear option)
- Session status display — shows 🔒 logged-in status and tracker count
- Multi-browser support — Chrome MV3 and Firefox MV2 with unified codebase
- Replaced hardcoded domain lists with intelligent cookie analysis
- Significantly reduced false positives in session detection
- Enhanced popup UI to show real-time session detection status
- Improved performance with batch cookie processing
- Better error handling and diagnostics
- Manifest V3 architecture with Firefox compatibility layer
- Session detection based on cookie attributes (HttpOnly, SameSite, expiry)
- Configurable cleanup strategies per site
Initial release with basic cookie and storage cleanup functionality.
The extension tracks:
- Cookies removed — total tracking cookies cleared
- Domains cleaned — unique domains processed
- Storage items removed — local storage, session storage, IndexedDB entries
- Sessions detected — active logins preserved
Statistics are saved locally in your browser and never transmitted anywhere.
These limitations are imposed by browser security policies:
- ❌ Some third-party cookies may not be accessible
- ❌ Cross-origin iframe storage cannot always be cleared
- ❌ Browser partitioned storage may remain isolated
- ❌ Certain Service Worker data requires browser-level removal
- ❌ Browser-level identifiers (like client hints) may remain protected
What this means: While Cookie Reset Pro removes most tracking data, some browser security features intentionally prevent extensions from clearing absolutely everything. This is by design to protect your browser from malicious extensions.
- Chrome/Edge: Go to
Extensions→ Find Cookie Reset Pro → Click the pin icon - Firefox: Right-click the extension icon → "Pin to Toolbar"
- The extension uses conservative cookie detection — it may not recognize custom auth implementations
- Use the Manual Shield button to mark a site as safe
- Enable debug mode to see which cookies are detected
- Some cookies are protected by browser security policies
- Partitioned cookies in Chromium browsers may not be accessible
- Check the debug console for detailed removal reports
- Check browser privacy settings — storage permission may be restricted
- Try a different browser profile
- Disable conflicting privacy extensions
Cookie Reset Pro does not:
- Collect any user data
- Send information to external servers
- Use analytics or telemetry
- Store your browsing history
- Share data with third parties
- Contain ads or sponsored content
All operations run entirely within your browser.
MIT License © 2026 Dharanidhar Mahata
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Dharanidhar Mahata (imdevops)
- 🌐 Website: https://imdevops.in
- 🐙 GitHub: https://github.com/imdevops
- 🔗 LinkedIn: https://linkedin.com/in/imdevops
- 📧 Contact: founder@imdevops.in
Found a bug? Have a feature idea? Contributions are welcome!
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
If Cookie Reset Pro helps you protect your privacy, please consider:
- ⭐ Star this repository on GitHub
- 📢 Share with privacy-conscious friends
- 💬 Leave a review on your browser's extension store
- 🐛 Report bugs and suggest features via GitHub Issues
- Custom whitelist for specific domains
- Scheduled cleanup tasks
- Cleanup history/reports export
- Advanced statistics dashboard
- Custom cleanup profiles
- Cookie import/export functionality
- Enhanced performance metrics
- Multi-profile settings
- Policy management for organizations
Made with ❤️ for your privacy.