什么是 ScriptCat 脚本猫?
ScriptCat(脚本猫)是一款强大的 Open source browser extensions,旨在通过执行自定义脚本来增强浏览器的自动化能力。它在继承 GreaseMonkey 和 Tampermonkey 设计理念的基础上,实现了 90% 以上的脚本兼容性,让用户能够零成本迁移现有的油猴脚本库。
Beyond basic page enhancements, ScriptCat introduces a background script execution mechanism and scheduled tasks. Combined with a rich API and a security sandbox, it can efficiently handle various complex needs, from ad blocking to automated check-ins. For developers, its built-in intelligent editor (supporting syntax highlighting, auto-completion, and error messages) greatly optimizes the code writing and debugging experience.
Core features
1. Deep compatibility and API extension
- 无缝迁移:全面兼容 Tampermonkey 的脚本格式及绝大多数
GM_*函数,确保现有脚本直接运行。 - CatAPI 增强:在标准 GM 接口之外,额外提供文件存储、用户配置等高级接口,打破传统脚本的功能边界。
2. Powerful background processes and scheduled tasks
- 后台运行:通过
@background声明,脚本可脱离具体标签页在后台持续执行,非常适合长轮询或消息监听场景。 - 定时触发:内置灵活的定时器,支持按小时或按日触发,是实现自动签到、定期提醒的理想方案。
3. Cloud synchronization and security mechanisms
- 多端同步:支持账户登录,可跨设备同步脚本配置,并支持订阅脚本合集与协作管理。
- 安全隔离:采用沙盒运行环境,所有敏感操作需显式申请权限并经用户二次确认,有效防范恶意脚本。
4. Developer-friendly experience
- 集成开发环境:内置智能编辑器,提供 ESLint 检查、语法高亮和自动补全,让脚本开发像在专业 IDE 中一样高效。
Applicable Scenarios
- 浏览体验优化:通过去除广告、精简网页元素或增强交互界面,打造清爽的上网环境。
- 重复性工作自动化:自动完成社群签到、数据采集、内容搬运等例行操作,释放人力。
- 团队协作与分发:构建自定义脚本合集,实现脚本的快速共享与组合使用。
Installation Guide
- 选择获取渠道:根据需求选择官网、GitHub 或网盘下载安装包。
- 安装扩展:将下载的插件安装至浏览器中。
- 配置脚本:通过内置编辑器编写脚本,或导入已有的 Tampermonkey 脚本开始使用。
资源链接:
- 官网:https://scriptcat.org
- GitHub:https://github.com/scriptscat/scriptcat
- 备用下载:网盘下载
正文完

