Faster startup, optimized DOM, draggable UI, import/export, stable deletion.
A fast, portable, drag-and-drop cookie manager with full import/export, strong deletion logic, real-time search, and Shadow-DOM UI isolation. Designed for high performance and full cross-site compatibility.
Features
1. Clean & Self-Contained Interface
Floating 🍪 launcher button (draggable).
Modern dark-themed panel with isolated Shadow DOM to prevent CSS conflicts.
Fully draggable control panel with smooth movement.
Lightweight UI with optimized DOM updates.
---
2. Complete Cookie Management
View
Loads all cookies from the current page.
Displays name, value (truncated), and actions.
Auto-escaping prevents HTML/UI injection.
Search.
Real-time filtering by cookie name or value.
Add
Add new cookies with name + value prompts.
Edit
Edit cookie values directly from the table.
Delete (Single).
Advanced deletion algorithm:
Removes cookies across all domain variations.
Removes cookies across all path depths.
Uses proper expires=1970 invalidation.
Ensures maximum deletion reliability even on complex subdomains.
Delete All.
Confirmation prompt before wiping all cookies.
Uses the same robust domain/path traversal logic.
---
3. Import / Export Tools
Export Cookies.
Downloads a cookies.json file.
Includes all cookies in a clean, pretty-formatted JSON structure.
Import Cookies.
Accepts JSON files in the same format.
Automatically writes each cookie back to document.cookie.
Validates JSON and alerts on corruption.
---
4. Performance Optimizations
Loads only after document-idle for compatibility and speed.
Deferred initialization (150 ms post-ready) to avoid blocking page rendering.
Efficient DOM rendering via batch HTML updates.
Minimal event listeners and no external libraries.
---
5. Technical Notes
Runs on all websites (*://*/*)
Uses only native JavaScript.
Zero external dependencies.
Fully contained inside a Shadow DOM to avoid styled breaks on any webpage.
Supports both mouse and touch drag interactions.
📌 How to Use
1. Install the script.
2. Click the 🍪 floating button to open the cookie panel.
3. Use:
Search to quickly find cookies.
Add/Edit/Delete to modify entries.
Export/Import to back up or restore cookies.
Delete All for full cleanup (with confirmation).
---
📌 Why This Script Is Better?
Faster and cleaner than most cookie managers.
Much more reliable deletion thanks to multi-domain/path traversal.
Shadow DOM UI prevents site CSS from breaking the interface.
Perfect for debugging, testing, or persistent cookie management.
Mobile-friendly drag interface.