👥 AnMe - 通用网站多账号切换工具
AnMe 是一款基于浏览器 篡改猴 开发的开源网站多账号管理切换脚本。它通过“快照”机制,一键保存并恢复网站的登录状态(Cookie、LocalStorage 和 SessionStorage),助您在同一个浏览器窗口中实现多账号无缝切换。
✨ 主要功能
- ⚡ 快速切换:为不同账号保存独立快照,点击即可瞬间切换。
- 📂 全面存储:支持同时备份 Cookie、LocalStorage (LS) 和 SessionStorage (SS)。
- 🌍 跨站管理:支持查看和管理非当前域名的其他网站账号记录。
- 📦 数据备份:支持导出当前网站或全部数据为 JSON 文件,方便跨设备迁移。
- 🎨 智能交互:
- 悬浮球设计:支持自由拖拽定位。
- 多种显示模式:智能显隐、常驻显示或完全隐藏(通过菜单唤起)。
- 拖拽排序:在管理面板中可通过拖拽调整账号顺序。
- 🌐 多语言支持:支持简体中文和英文。
🚀 安装步骤
- 准备环境:确保您的浏览器已安装 Tampermonkey(篡改猴)插件。
- 设置权限 (重要):
- 为了脚本能正常读取和保存 Cookie,请进入 篡改猴管理面板。
- 点击 “设置”,将底部的 “通用” -> “配置模式” 改为 “高级”。
- 找到 “安全” -> “允许脚本访问 Cookie”,将其设置为 “ALL”。
- 安装脚本:点击脚本文件的安装按钮或将代码复制到新建脚本中保存。
🛠️ 使用指南
1. 保存账号
- 点击页面上的蓝色人头悬浮球。
- 进入“管理账号”标签页。
- 输入账号名称,勾选需要保存的数据类型(建议至少勾选 Cookie,如切换登录失败,尝试勾选 LocalStorage 和 SessionStorage后重新保存账号)。
- 点击 “保存当前账号”。
2. 切换账号
- 在“账号切换”标签页中,点击对应的账号卡片。
- 页面会自动刷新并带入保存的登录状态。
3. 开启新环境
- 点击 “+” (切换新环境) 按钮。
- 脚本将清空当前站点的所有 Cookie 和存储痕迹,让您像新打开浏览器一样直接登录新账号。
🔒 隐私与安全
- 本地存储:所有数据均通过
GM_setValue 存储在您的本地浏览器中,脚本没有任何联网权限,不会上传任何数据到服务器。
- 风险提示:由于脚本管理器环境的开放性,请勿在公共电脑或不可信的设备上保存敏感账号。
📄 免责声明
本脚本仅供学习交流使用。因使用本脚本导致的账号封禁、数据泄露或任何形式的损失,作者不承担任何法律责任。请在确保环境安全的前提下谨慎使用。
☕支持作者
如果您觉得好用,可以通过下方二维码支持我或给项目点个star,这是对我最大的鼓励。
| 微信赞赏 |
支付宝 |
 |
 |
👥 AnMe - Universal Website Multi-Account Switcher
AnMe is an open-source browser script developed for Tampermonkey designed to manage and switch between multiple website accounts. It utilizes a "snapshot" mechanism to save and restore website login states (Cookies, LocalStorage, and SessionStorage) with one click, enabling seamless account switching within the same browser window.
✨ Key Features
🚀 Installation Steps
- Prepare the Environment: Ensure the Tampermonkey extension is installed in your browser.
- Set Permissions (Crucial):
- To ensure the script can properly read and save Cookies, go to the Tampermonkey Dashboard.
- Click "Settings", and change the "Config mode" at the bottom from "Basic" to "Advanced".
Locate "Security" -> "Allow scripts to access cookies" and set it to "ALL".
Install the Script: Click the install button for the script file or copy the code into a new script and save.
🛠️ User Guide
1. Saving an Account
- Click the blue user icon floating button on the page.
- Navigate to the "Manage" (Manage Accounts) tab.
- Enter an account name and check the data types you wish to save (it is recommended to at least check Cookies; if switching fails, try checking LocalStorage and SessionStorage as well).
- Click "Save Current".
2. Switching Accounts
- In the "Accounts" (Account Switch) tab, click the corresponding account card.
- The page will automatically refresh and apply the saved login state.
3. Creating a New Environment
- Click the "+" (New Environment) button.
- The script will clear all Cookies and storage traces for the current site, allowing you to log in to a new account as if using a fresh browser.
🔒 Privacy & Security
- Local Storage: All data is stored locally in your browser via
GM_setValue. The script has no network permissions and will never upload your data to any server.
- Risk Warning: Due to the open nature of browser script managers, do not use this script to save sensitive accounts on public computers or untrusted devices.
📄 Disclaimer
This script is for educational and exchange purposes only. The author is not responsible for account bans, data leaks, or any form of loss resulting from the use of this script. Please use it with caution in a secure environment.
☕ Support the Author
If you find this tool helpful, you can support me via the QR codes below or give the project a star. It is the greatest encouragement for me.
| Wechat Pay |
Alipay |
 |
 |