A fast, minimalist Chrome extension for clearing cookies, cache, and browsing data with one click. Choose between clearing data for the current site only or all sites.
- One-Click Clearing: Click the extension icon to instantly clear selected data
- Auto Page Reload: Page automatically reloads after clearing to show immediate effect
- Flexible Scope: Choose between clearing current site or all sites
- Customizable Data Types: Select what to clear:
- Cookies
- Cache
- Local Storage
- Session Storage
- IndexedDB
- Service Workers
- Browsing History
- No Confirmation Dialogs: Fast, seamless clearing without interruptions
- Minimalist Notification: Small, clean popup shows what was cleared
- Modern Design: Clean interface following latest design principles
- Cross-Device Sync: Settings sync across devices via Chrome Sync
-
Download or Clone this repository to your local machine
-
Open Chrome Extensions Page:
- Navigate to
chrome://extensions/ - Or click the Extensions icon in Chrome toolbar → Manage Extensions
- Navigate to
-
Enable Developer Mode:
- Toggle the "Developer mode" switch in the top right corner
-
Load the Extension:
- Click "Load unpacked"
- Select the
CleanSweepfolder
-
Pin the Extension (Optional):
- Click the Extensions icon in Chrome toolbar
- Pin "CleanSweep" for easy access
- Click the extension icon to clear data based on your current settings
- A success badge (✓) will appear on the icon
- The popup shows what was cleared and when
- Click the extension icon to open the popup
- Click "Settings" button at the bottom
- Configure your preferences:
- Clearing Scope: Choose "Current Site Only" or "All Sites"
- Data Types: Toggle what types of data to clear
- Settings are saved automatically when you make changes
On first install, these defaults are set:
- Scope: Current Site Only (safer)
- Enabled: Cookies, Cache, Local Storage, Session Storage
- Disabled: IndexedDB, Service Workers, Browsing History
This extension requires the following permissions:
browsingData: Required to clear cache, cookies, and other browsing datacookies: Required for targeted cookie removalstorage: Required to save your settingsactiveTab: Required to identify the current website when clearing site-specific datatabs: Required to show status badges on the extension icon<all_urls>: Required to clear cookies from any domain
Privacy Note: This extension does NOT collect, store, or transmit any of your data. All operations are performed locally on your device.
- Manifest Version: V3 (latest Chrome standard)
- Background: Service Worker architecture
- Storage: Chrome Storage Sync API
- Styling: Pure CSS with system font stack
- No External Dependencies: No external libraries or frameworks
- Chrome 88+ (Manifest V3 support)
- Microsoft Edge 88+ (Chromium-based)
- Brave, Opera, and other Chromium browsers
CleanSweep/
├── manifest.json # Extension configuration
├── background.js # Service worker (core logic)
├── popup/
│ ├── popup.html # Popup interface
│ ├── popup.js # Popup logic
│ └── popup.css # Popup styling
├── settings/
│ ├── settings.html # Settings page
│ ├── settings.js # Settings logic
│ └── settings.css # Settings styling
├── icons/
│ ├── icon16.png # 16x16 icon
│ ├── icon48.png # 48x48 icon
│ └── icon128.png # 128x128 icon
└── README.md # This file
No. The extension uses a lightweight service worker that only runs when you click the icon. It has minimal impact on browser performance.
No. Once data is cleared, it cannot be recovered. Be careful when using "All Sites" mode with History enabled.
Chrome extensions cannot access or modify internal Chrome pages (chrome://, about://, etc.) for security reasons.
The extension can work in Incognito mode if you enable it in Chrome Extensions settings. However, Incognito mode already limits data storage.
- Local Storage: Persists until explicitly cleared
- Session Storage: Cleared when the tab/window is closed
- Both are cleared by this extension if enabled
CleanSweep respects your privacy:
- No Data Collection: We do not collect any user data
- No Analytics: No tracking or analytics of any kind
- No External Connections: All operations are local
- Open Source: Code is fully transparent and auditable
- Minimal Permissions: Only requests permissions necessary for functionality
Contributions are welcome! Please feel free to submit issues or pull requests.
- Clone the repository
- Make your changes
- Test in Chrome with Developer Mode
- Submit a pull request
- Test clearing on HTTP sites
- Test clearing on HTTPS sites
- Test "Current Site" mode
- Test "All Sites" mode
- Test with different data type combinations
- Verify settings persistence
- Check visual feedback (badges, status messages)
- Test on different screen sizes
If you encounter any issues or have suggestions:
- Check the FAQ above
- Review existing issues on GitHub
- Create a new issue with details about your problem
MIT License - Feel free to use, modify, and distribute this extension.
Built with care following Chrome Extension best practices and modern web design principles.
Version: 1.0.0
Last Updated: November 2025