通用多网站多账号切换器
通用多网站多账号切换器
AnMe 是一款基于 篡改猴 / 脚本猫 浏览器插件开发的多网站多账号管理切换脚本。它通过“快照”机制,一键保存并恢复网站的登录状态(Cookie、LocalStorage 和 SessionStorage),助您在同一个浏览器窗口中实现多账号无缝切换。

准备环境:确保您的浏览器已安装 篡改猴Tampermonkey 或 脚本猫ScriptCat 插件。
篡改猴设置权限 (重要):

脚本猫ScriptCat 不需要额外的设置,当检测到需要权限时会提醒您进行选择。
账号保存后,不要使用原本网站的退出账号功能,这会让已经保存到脚本中的账号快照失效。可以使用脚本的 “+” (切换新环境) 来退出当前网站已经登录的账号。
CK、LS、SS 这样的小按钮,这是脚本所保存的账号信息,点击后可以查看具体的内容。添加的账号并不会一直生效,这取决网站自身给账号设置的登录过期时间。一个可行的方式是切换登录后尝试重新保存同名的账号,这会重新刷新账号快照状态,延长过期时间。
导出数据:
导入数据:
切换新账号并不总是成功的,不同的网站对安全性要求也不一样。高级一点的网站会使用诸如 浏览器指纹 的技术来识别用户状态,这就要根据具体的网站来判断。
GM_setValue 存储在您的本地浏览器中,脚本没有任何联网权限,不会上传任何数据到服务器。本脚本仅供学习交流使用。因使用本脚本导致的账号封禁、数据泄露或任何形式的损失,作者不承担任何法律责任。请在确保环境安全的前提下谨慎使用。
AnMe is a multi-account management and switching script developed for Tampermonkey and ScriptCat browser extensions. Using a "snapshot" mechanism, it saves and restores website login states (Cookies, LocalStorage, and SessionStorage) with one click, allowing you to switch between multiple accounts seamlessly within the same browser window.


ScriptCat does not require extra settings; it will prompt you for permission when needed.
Note: After saving an account, do not use the website's native "Logout" button, as this often invalidates the session stored in your snapshot. Instead, use the script's "+" (Switch to New Environment) feature to clear the current session.
CK, LS, and SS. These represent the saved data; click them to view specific content.Account snapshots are subject to the website's own expiration policy. A good practice is to periodically "re-save" an existing account name while logged in to refresh the snapshot and extend the session.
Exporting Data:
Importing Data:
Note: Switching accounts may not work on all websites. Some high-security sites use Browser Fingerprinting or hardware-bound sessions to verify users, which this script cannot bypass.
GM_setValue. The script has no network permissions and will never upload your data to any server.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.