Cookie 管理器

现代化 Cookie 管理油猴脚本:双核引擎读写、批量增删改查、多选、粘贴解析、JSON 导入导出、多种复制格式、撤销删除、中英双语 UI

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
minis233
日安装量
1
总安装量
8
评分
0 0 0
版本
0.1.0
创建于
2026-05-22
更新于
2026-05-22
大小
47.2 KB
许可证
MIT
适用于
所有网站

Cookie Manager

A modern cookie manager userscript with a clean floating UI. Works on Tampermonkey, Violentmonkey, Greasemonkey, Userscripts (Safari), Via Browser and any other userscript engine.

Features

  • Dual engine — uses the modern cookieStore API on Chromium, automatically falls back to document.cookie on Firefox/Safari/legacy
  • Full CRUD — add / edit / delete / batch-add with smart paste parsing
  • Multi-select — filter-aware select-all, bulk copy, bulk delete with one-click undo
  • Multiple copy formats — Cookie Header, cURL --cookie, JSON (DevTools / EditThisCookie compatible), KV
  • Import / Export JSON — back up your login state, share between devices
  • Detail view — tap a cookie to see Domain / Path / Expires / Secure / HttpOnly / SameSite / Size, with size warning at >4 KB
  • Undo delete — every delete shows a 5-second Undo toast
  • Bilingual UI — instant 中/EN switch, persists across sessions, auto-detects browser language
  • Search — by key or value
  • Draggable floating button — position is remembered

How to use

A small blue C button appears at the bottom-right of every page. Tap to open the manager. Drag to move it. The button position is saved.

  • Multi-select mode → bulk operations + filter-aware select all
  • Copy As... → choose the format you need (header for HTTP debugging, cURL for terminal, JSON for backup)
  • More ▾ → Export / Import JSON
  • Tap any cookie to expand its full details
  • Edit lets you rename the key, change value/domain/path/expiry — all editable
  • Switch language with the 中/EN pill in the header

Privacy

This script makes zero network requests. All data stays in your browser. No telemetry, no analytics, no remote calls.

Source code

Open source on GitHub: https://github.com/Minis233/cookie-manager (MIT)