This Chrome extension automatically clears cookies and storage for a specified list of websites whenever a tab is closed. It provides a user-friendly interface for managing the list of websites.
- Automatically clears cookies and storage for specified websites on tab closure.
- User interface for adding and removing websites from the list.
- Options page for managing the list of websites.
cookie-monster
├── src
│ ├── background.ts # Background script for handling tab closure events
│ ├── content.ts # Content script for interacting with web pages
│ ├── popup
│ │ ├── popup.html # HTML structure for the popup interface
│ │ ├── popup.ts # Logic for the popup interface
│ │ └── popup.css # Styles for the popup interface
│ ├── options
│ │ ├── options.html # HTML structure for the options page
│ │ ├── options.ts # Logic for managing the list of websites
│ │ └── options.css # Styles for the options page
│ └── types
│ └── index.ts # Custom types and interfaces
├── manifest.json # Configuration file for the Chrome extension
├── package.json # npm configuration file
├── tsconfig.json # TypeScript configuration file
└── README.md # Project documentation
- Clone the repository:
git clone <repository-url> - Navigate to the project directory:
cd cookie-monster - Install dependencies:
npm install
- Load the extension in Chrome:
- Go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the project directory.
- Go to
- Open the popup to add or remove websites from the list.
- The extension will automatically clear cookies and storage for the specified websites when a tab is closed.
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License.