From 4686ab5ec9a52b1696c4c8b7be731c8ed809f0a1 Mon Sep 17 00:00:00 2001 From: zkcoi Date: Wed, 30 Sep 2026 18:17:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E4=B8=80=20README=20=E4=B8=8E?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E7=9A=84=E6=A0=87=E8=AF=86=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - README 安装说明/项目结构中的脚本文件名由错误的「可视化自动点击器.user.js」改为实际文件名 auto-click.js - 补上 README 引用但缺失的 MIT LICENSE 文件,修复死链 --- LICENSE | 21 +++++++++++++++++++++ README.md | 6 +++--- 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 LICENSE 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 # 本文档 ```