https://github.com/peterbenoit/autoclearextension
AutoClearExtension is a privacy-focused Chrome extension that gives users fine-grained control over storage and cookies on a per-domain basis
https://github.com/peterbenoit/autoclearextension
chrome-extension cookie extension indexeddb localstorage sessionstorage
Last synced: 2 months ago
JSON representation
AutoClearExtension is a privacy-focused Chrome extension that gives users fine-grained control over storage and cookies on a per-domain basis
- Host: GitHub
- URL: https://github.com/peterbenoit/autoclearextension
- Owner: peterbenoit
- Created: 2025-05-13T13:16:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-25T12:19:09.000Z (12 months ago)
- Last Synced: 2025-06-25T13:27:04.977Z (12 months ago)
- Topics: chrome-extension, cookie, extension, indexeddb, localstorage, sessionstorage
- Language: JavaScript
- Homepage:
- Size: 143 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AutoClearExtension
**AutoClearExtension** is a privacy-focused Chrome extension that gives users fine-grained control over storage and cookies on a per-domain basis. Built with minimal dependencies and no external libraries, it is designed to be lightweight, transparent, and easy to maintain.
---
## Features
- Clear `localStorage`, `sessionStorage`, and `indexedDB` for blacklisted domains
- Automatically clear cookies on command or via tab lifecycle
- TTL-based "temporarily allow" rules with expiration
- Per-site rule editor accessible from the extension popup
- Global enable/disable toggle and rule reset button
- Manual cookie clear button for active tab
- Debug log panel with optional persistent logging
- Visual indicator badge based on rule state
---
## Usage
1. Click the extension icon to open the popup.
2. Use the mode dropdown to configure behavior for the current domain:
- **Off** – Do nothing
- **Blacklist** – Always clear storage and cookies
- **Temporarily Allow** – Allow for a set number of minutes (TTL)
3. Enable the debug log to monitor actions.
4. Use the "Reset All Rules" button to clear stored settings.
5. Use the "Clear Cookies Now" button to manually delete cookies for the current domain (if blacklisted).
---
## Permissions
The extension requires:
- `cookies` – to read and delete cookies
- `storage` – to persist rules and debug logs
- `tabs`, `activeTab`, `scripting` – for rule evaluation and lifecycle management
- `host_permissions: [""]` – to apply rules across any site
No analytics, no remote tracking, no external API usage.
---
## Development
- No build step required
- Plain HTML, CSS, and JavaScript (Manifest V3)
- No frameworks or external dependencies
- Segmented AI-guided development stored in `/docs/`