diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4e18d73 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 zkcoi + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 0de5ed6..da80b9f 100644 --- a/README.md +++ b/README.md @@ -33,14 +33,14 @@ ### 方式一:从 Gitea 直接安装(推荐) 1. 浏览器安装 [Tampermonkey](https://www.tampermonkey.net/) 扩展 -2. 打开本仓库的 `可视化自动点击器.user.js` 文件,点击「Raw 原始文件」 +2. 打开本仓库的 `auto-click.js` 文件,点击「Raw 原始文件」 3. Tampermonkey 会自动识别并弹出安装页面,点击「安装」即可 4. 后续 Tampermonkey 会自动检测更新 ### 方式二:手动粘贴 1. Tampermonkey → 仪表盘 → 「+」新建脚本 -2. 删除默认内容,粘贴 `可视化自动点击器.user.js` 的全部内容 +2. 删除默认内容,粘贴 `auto-click.js` 的全部内容 3. `Ctrl + S` 保存,**刷新目标页面**生效 > ⚠️ 更新脚本后,务必刷新已打开的页面,否则内存中运行的仍是旧版本。 @@ -192,7 +192,7 @@ JS 派发的点击是"不可信事件"(`isTrusted = false`),少数场景 ``` . -├── 可视化自动点击器.user.js # 用户脚本本体,安装这一个文件即可 +├── auto-click.js # 用户脚本本体,安装这一个文件即可 └── README.md # 本文档 ```