Add userscript documentation
This commit is contained in:
31
README.md
Normal file
31
README.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# Tampermonkey Scripts
|
||||
|
||||
个人维护的油猴脚本集合。当前主要脚本用于改造 Chaturbate 页面展示,方便在较大屏幕上浏览房间列表、发现页轮播、关注下拉和频道页相关推荐。
|
||||
|
||||
## 脚本列表
|
||||
|
||||
| 脚本 | 说明 | 安装 / 更新 |
|
||||
| --- | --- | --- |
|
||||
| [Chaturbate 缩略图自定义缩放](./Chaturbate/README.md) | 自定义放大 Chaturbate 缩略图和房间卡片,支持页面控制面板、标签中文化、频道页小聊天窗隐藏。 | [安装地址](https://gitea.jackadam.top/jack/Tampermonkey_scripts/raw/branch/main/Chaturbate/chaturbate-thumbnails-custom.user.js) |
|
||||
|
||||
## 使用方式
|
||||
|
||||
1. 安装 Tampermonkey 或兼容的用户脚本管理器。
|
||||
2. 打开上表中的安装地址。
|
||||
3. 在 Tampermonkey 安装页确认安装。
|
||||
4. 后续脚本会通过 `@updateURL` 从本仓库自动检查更新。
|
||||
|
||||
## 开发与测试
|
||||
|
||||
当前脚本为纯 JavaScript userscript,不需要构建步骤。
|
||||
|
||||
```powershell
|
||||
node --check .\Chaturbate\chaturbate-thumbnails-custom.user.js
|
||||
node .\tests\followed-dropdown-css.test.js
|
||||
```
|
||||
|
||||
## 维护约定
|
||||
|
||||
- 脚本文件放在对应站点目录下。
|
||||
- 每个脚本目录应包含自己的 `README.md`,说明功能、安装地址和主要行为。
|
||||
- 发布前确认 `@updateURL` 和 `@downloadURL` 指向可公开访问的 raw 地址,而不是本机调试地址。
|
||||
Reference in New Issue
Block a user