{"id":45699885,"url":"https://github.com/zhu-junwei/anme","last_synced_at":"2026-02-24T22:05:19.305Z","repository":{"id":333320843,"uuid":"1136911542","full_name":"Zhu-junwei/AnMe","owner":"Zhu-junwei","description":"通用多网站多账号切换器。Universal Multi-Site Account Switcher.","archived":false,"fork":false,"pushed_at":"2026-01-26T17:34:59.000Z","size":2363,"stargazers_count":18,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-27T05:42:38.326Z","etag":null,"topics":["account-switcher","cookie-manager","multi-account","tampermonkey-script","userscript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zhu-junwei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-18T15:31:02.000Z","updated_at":"2026-01-26T17:35:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Zhu-junwei/AnMe","commit_stats":null,"previous_names":["zhu-junwei/anme"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Zhu-junwei/AnMe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhu-junwei%2FAnMe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhu-junwei%2FAnMe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhu-junwei%2FAnMe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhu-junwei%2FAnMe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zhu-junwei","download_url":"https://codeload.github.com/Zhu-junwei/AnMe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhu-junwei%2FAnMe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29802866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T21:02:39.706Z","status":"ssl_error","status_checked_at":"2026-02-24T21:02:21.834Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["account-switcher","cookie-manager","multi-account","tampermonkey-script","userscript"],"created_at":"2026-02-24T22:05:07.737Z","updated_at":"2026-02-24T22:05:19.299Z","avatar_url":"https://github.com/Zhu-junwei.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"中文 | [English](./README_en.md)\r\n\r\n---\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003cimg src=\"./img/logo.svg\" width=\"96\" alt=\"AnMe Logo\" /\u003e\r\n\u003c/p\u003e\r\n\u003ch1 align=\"center\"\u003eAnMe\u003c/h1\u003e\r\n\u003cp align=\"center\"\u003e\r\n  通用多网站多账号切换器\r\n\u003c/p\u003e\r\n\r\n---\r\n\r\n​      [AnMe](https://github.com/Zhu-junwei/AnMe) 是一款基于 [篡改猴](https://www.tampermonkey.net/) / [脚本猫](https://scriptcat.org) 浏览器插件开发的多网站多账号管理切换脚本。它通过“快照”机制，一键保存并恢复网站的登录状态（Cookie、LocalStorage 和 SessionStorage），助您在同一个浏览器窗口中实现多账号无缝切换。\r\n\r\n## ✨ 主要功能\r\n\r\n- **⚡ 快速切换**：为不同账号保存独立快照，点击即可瞬间切换。\r\n- **📂 全面存储**：支持同时备份 **Cookie**、**LocalStorage (LS)** 和 **SessionStorage (SS)**。\r\n- **🌍 跨站管理**：支持查看和管理非当前域名的其他网站账号记录。\r\n- **📦 数据备份**：支持导出当前网站或全部数据为 JSON 文件，方便跨设备迁移。\r\n- **🎨 智能交互**：\r\n  - **悬浮球设计**：支持自由拖拽定位。\r\n  - **多种显示模式**：智能显隐、常驻显示或完全隐藏（通过菜单唤起）。\r\n  - **拖拽排序**：在管理面板中可通过拖拽调整账号顺序。\r\n- **🌐 多语言支持**：支持简体中文、英文、西班牙语。\r\n\r\n## 🏠 运行截图\r\n\r\n![](./img/run2.gif)\r\n\r\n## 🚀 安装步骤\r\n\r\n1. **准备环境**：确保您的浏览器已安装 [篡改猴Tampermonkey](https://www.tampermonkey.net/) 或 [脚本猫ScriptCat](https://scriptcat.org) 插件。\r\n\r\n2. **篡改猴设置权限 (重要)**：\r\n\r\n   - 为了脚本能正常读取和保存 Cookie，请进入 **“篡改猴管理面板”**。\r\n   - 点击 **“设置”**，将 **“通用” -\u003e “配置模式”** 改为 **“高级”**。\r\n   - 找到 **“安全” -\u003e “允许脚本访问 Cookie”**，将其设置为 **“ALL”**，在下方记得点击**“保存”**。\r\n\r\n   ![Tampermonkey设置](./img/Tampermonkey_setting_cn.png)\r\n\r\n   \u003e  [脚本猫ScriptCat](https://scriptcat.org) 不需要额外的设置，当检测到需要权限时会提醒您进行选择。\r\n\r\n3. **安装脚本**\r\n\r\n - 可以选择在 [Greasy Fork](https://greasyfork.org/zh-CN) 中找到 AnMe 脚本来 [安装](https://greasyfork.org/zh-CN/scripts/563142-anme)，这里的代码和Github是同步更新的。\r\n - 或在Github将 [AnMe](https://github.com/Zhu-junwei/AnMe) 仓库中的js代码复制到插件中保存。\r\n\r\n## 🛠️ 使用指南\r\n\r\n### 1. 保存账号\r\n\r\n- 在需要保存账号的网页中（通常是网站的首页），找 [篡改猴](https://www.tampermonkey.net/) / [脚本猫](https://scriptcat.org) 插件中的AnMe脚本， 点击 **🚀 开启账号管理** 菜单打开账号管理面板。\r\n- 进入 **管理账号** 标签页。\r\n- 输入账号名称，勾选需要保存的数据类型（建议至少勾选 Cookie，如切换登录失败，尝试勾选 LocalStorage 和 SessionStorage后重新保存账号）。\r\n- 点击 **保存当前账号** 后，账号会以“快照”的方式保留在脚本中。如需添加多个账号，点击旁边的**“+” (切换新环境)** 按钮登录新的账号保存即可。\r\n\r\n\u003e 账号保存后，不要使用原本网站的退出账号功能，这会让已经保存到脚本中的账号快照失效。可以使用脚本的 **“+” (切换新环境)** 来退出当前网站已经登录的账号。\r\n\r\n### 2. 切换账号\r\n\r\n- 在 **账号切换** 标签页中，点击对应的账号卡片后即可切换账号。\r\n- 脚本会退出当前已经登录的账号，切换成你选择的账号进行登录并刷新网页。\r\n- 在账号的下面你会看到`CK`、`LS`、`SS` 这样的小按钮，这是脚本所保存的账号信息，点击后可以查看具体的内容。\r\n\r\n\u003e 添加的账号并不会一直生效，这取决网站自身给账号设置的登录过期时间。一个可行的方式是切换登录后尝试重新保存同名的账号，这会重新刷新账号快照状态，延长过期时间。\r\n\r\n### 3. 导入导出\r\n\r\n**导出数据：**\r\n\r\n- 在 **高级设置** 标签页中，脚本提供了导出脚本中保存的 **当前网站** 和 **所有网站** 的账号数据，导出后是一个json格式的文件，你需要妥善保管这些备份数据。\r\n\r\n**导入数据：**\r\n\r\n- 有了导出数据，你可以选择在 **任意电脑 / 浏览器** 安装了 [AnMe](https://github.com/Zhu-junwei/AnMe) 脚本重新导入他们。如果尝试进行切换账号登录，你会发现依然好用，并且没有要求输入的账号密码。\r\n\r\n\u003e 切换新账号并不总是成功的，不同的网站对安全性要求也不一样。高级一点的网站会使用诸如 **[浏览器指纹](https://zhuanlan.zhihu.com/p/10758691067)** 的技术来识别用户状态，这就要根据具体的网站来判断。\r\n\r\n## 🔒 隐私与安全\r\n\r\n- **本地存储**：所有数据均通过 `GM_setValue` 存储在您的本地浏览器中，脚本没有任何联网权限，**不会上传任何数据**到服务器。\r\n- **风险提示**：由于脚本管理器环境的开放性，请勿在公共电脑或不可信的设备上保存敏感账号。\r\n\r\n## 📄 免责声明\r\n\r\n本脚本仅供学习交流使用。因使用本脚本导致的账号封禁、数据泄露或任何形式的损失，作者不承担任何法律责任。请在确保环境安全的前提下谨慎使用。\r\n\r\n------\r\n\r\n## ☕支持作者\r\n\r\n**如果您觉得好用，可以通过下方二维码支持我或给项目点个star，这是对我最大的鼓励。**\r\n\r\n|        微信赞赏        |         支付宝         |\r\n| :--------------------: | :--------------------: |\r\n| ![](https://cdn.jsdelivr.net/gh/Zhu-junwei/media-library@master/imgs/qrcode/wechatpay.png) | ![](https://cdn.jsdelivr.net/gh/Zhu-junwei/media-library@master/imgs/qrcode/alipay.png) |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhu-junwei%2Fanme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhu-junwei%2Fanme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhu-junwei%2Fanme/lists"}