Cookie Inspector is a browser extension that allows users to view, edit, and manage cookies stored in their browser. This extension provides a user-friendly interface to handle cookies for better control and privacy.
- View all cookies for the current tab.
- Edit cookie values.
- Delete individual cookies.
- Displays total cookie count.
- manifest v3
- Node.js
- npm (Node Package Manager)
- Webpack
- Clone the repository:
git clone https://github.com/imshaaz21/Cookie-Inspector.git cd Cookie-Inspector
- Install dependencies:
npm install
-
Build the extension:
npm run build
cookie-inspector/
├── src/
│ ├── background.js
│ ├── dom.js
| ├── popup.js
| ├── utils.js
├── static/
│ ├── index.html
│ ├── manifest.json
│ ├── styles.css
│ ├── assets/
│ ├── icons/
│ ├── icon16.png
| ├── icon32.png
│ ├── icon48.png
| ├── icon64.png
│ ├── icon128.png
├── dist/
│ ├── (bundled files)
├── package.json
├── webpack.config.js
Use Tailwind CSS
for styling and Font Awesome
for icons.
- Load the extension in Chrome:
- Open Chrome and navigate to
chrome://extensions/
. - Enable "Developer mode".
- Click "Load unpacked" and select the dist folder.
- Open Chrome and navigate to
- Click the extension icon to open the Cookie Inspector.
- Open the extension by clicking on its icon in the browser toolbar.
- The extension will display all cookies associated with the current tab. If no cookies are found, a message "No cookies found" will be displayed.
- Cookie count and domain information will be displayed at the top of the list.
- Click on a cookie key to reveal the cookie value.
Double-click
on the cookie value to make it editable. The value field will be highlighted.- Edit the value as needed.
- Click outside the value field. The updated cookie value will be stored.
- Click on the
trash icon
next to the cookie you want to delete.
The main branch contains the Chrome extension. In the future, support for other browsers (like Firefox etc.) will be added.
This project is licensed under the Apache License. See the LICENSE file for details.
Contributions are welcome! Please fork the repository and submit a pull request.
[1] Chrome Extensions Reference API [Online]. Available here . (last accessed 2024/05/26)
Made with ❤️ by imshaaz