Skip to content

Latest commit

 

History

11 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

Storage & Cookie Manager

A lightweight, modern browser extension to manage LocalStorage, SessionStorage, and Cookies. Built with Vanilla JavaScript and compatible with Manifest V3.

License Manifest Version

📦 Install

Edge Add-ons

Also compatible with Chrome, Brave, Opera, and other Chromium-based browsers via Developer Mode.

🚀 Features

  • Manage All Storage — View, edit, delete, and add entries for LocalStorage, SessionStorage, and Cookies.
  • Modern UI — Clean, flat design with smooth animations, system fonts, and SVG icons.
  • Inline Editing — Edit keys and values directly within the table with smart debouncing.
  • JSON Viewer — Full-screen modal to view and format complex JSON values with syntax highlighting.
  • Export & Import — Download storage data as JSON files or import from JSON text/file.
  • Cookie Metadata — View full cookie details including domain, path, secure, httpOnly, sameSite, and expiration.
  • Tab Animations — Sliding tab indicator and staggered 关于 page entrance animation.
  • Zero Dependencies — Pure Vanilla JS with no external libraries.
  • Manifest V3 — Fully compliant with the latest Chrome/Edge extension standards.

🛠️ Installation (Developer Mode)

  1. Clone or download this repository.
  2. Open your browser and navigate to chrome://extensions/ (or edge://extensions/).
  3. Enable Developer mode (toggle in the top-right corner).
  4. Click Load unpacked.
  5. Select the folder containing the manifest.json file.

💻 Tech Stack

  • Core: HTML5, CSS3, Vanilla JavaScript (ES6+)
  • Architecture: Chrome Extensions API (Manifest V3)
  • APIs Used: chrome.scripting, chrome.storage, chrome.cookies, chrome.tabs

📋 Changelog

v1.1.0

安全

  • XSS prevention in toast messages and HTML escaping with control character stripping.

Cookie Management

  • Full cookie metadata preservation (domain, path, secure, httpOnly, sameSite, expiration) on edit/delete/export.
  • Proper per-cookie URL construction for reliable cookie operations.
  • Resilient bulk deletion with Promise.allSettled.

Stability

  • Per-row debounced inline editing prevents orphan storage entries.
  • Race condition fix in confirm dialog callbacks.
  • DOM removal guards in async debounce handlers.
  • FileReader error handling for import operations.
  • Clipboard API promise handling with proper error feedback.

UX Improvements

  • Sliding tab indicator animation.
  • Staggered cascade entrance animation on 关于 page.
  • Escape key closes all modals.
  • Focus state preserved across table rebuilds.
  • Import data auto-reset when switching tabs.
  • Empty data checks on Copy and Export actions.
  • Readonly cookie inputs have no misleading focus ring.

Infrastructure

  • Added missing storage permission.
  • Preference stored in chrome.storage.local instead of popup localStorage.
  • Replaced <form> wrapper to prevent unwanted page reloads.

v1.0.0

  • Initial release with LocalStorage, SessionStorage, and Cookie management.

🔒 Privacy

This extension works 100% offline — no data is collected, transmitted, or shared. All operations happen locally in your browser. Read the full Privacy Policy.

📝 License

This project is open source and available under the MIT License.

关于

Lightweight Storage Manager built with Vanilla JS and Manifest V3. Manage LocalStorage, SessionStorage, and Cookies efficiently.

Topics

Resources

Stars

1 star

关注者

0 watching

复刻s

发布

贡献者

Languages