mirror of
https://github.com/OLmatter/glm-coding-helper.git
synced 2026-10-07 15:58:34 +08:00
Disable auto closing invalid payment popups by default
This commit is contained in:
@@ -16,6 +16,7 @@ https://github.com/user-attachments/assets/e1a56d07-5c4d-4aa1-a567-909dd25bd037
|
||||
- 遇到中文点选验证码时,调用本地 OCR 后端自动识别并点击
|
||||
- 支持 CPU/GPU 本地识别,不上传验证码图片到第三方服务
|
||||
- 支持一键多开窗口,方便补货前预热和同时监控
|
||||
- 默认不自动关闭无效支付链接/限流弹窗,需要在配置面板里手动开启
|
||||
- 默认使用作者内置折扣入口进入 GLM Coding Plan
|
||||
|
||||
后端的安装、GPU/CPU 自动选择、worker 数、OCR 配置等说明见:
|
||||
@@ -65,6 +66,13 @@ Invoke-RestMethod http://127.0.0.1:8888/health
|
||||
http://127.0.0.1:8888
|
||||
```
|
||||
|
||||
### 快捷键
|
||||
|
||||
- `Esc`:关闭系统繁忙弹窗或支付弹窗
|
||||
- `Enter` / `Space`:点击验证码确认按钮
|
||||
|
||||
油猴菜单里可以打开配置面板、一键多开窗口、清除今日套餐状态缓存。
|
||||
|
||||
## 常用启动方式
|
||||
|
||||
强制 GPU:
|
||||
|
||||
@@ -14,3 +14,10 @@ http://127.0.0.1:8888
|
||||
```
|
||||
|
||||
脚本默认使用作者内置 GLM Coding Plan 折扣入口;如有需要可自行修改入口参数。
|
||||
|
||||
默认不自动关闭无效支付链接/限流弹窗,需要在配置面板里手动开启。
|
||||
|
||||
快捷键:
|
||||
|
||||
- `Esc`:关闭系统繁忙弹窗或支付弹窗
|
||||
- `Enter` / `Space`:点击验证码确认按钮
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name GLM Coding Helper
|
||||
// @namespace http://tampermonkey.net/
|
||||
// @version 8.5
|
||||
// @version 8.6
|
||||
// @description GLM Coding Plan helper with local CAPTCHA OCR backend integration
|
||||
// @author mumumi
|
||||
// @include https://*bigmodel.cn/glm-coding*
|
||||
@@ -237,7 +237,7 @@
|
||||
PACKAGES_PRIORITY : '2,3,1',
|
||||
CHECK_INTERVAL : 80,
|
||||
SMART_REFRESH : true,
|
||||
AUTO_CLOSE_INVALID: true,
|
||||
AUTO_CLOSE_INVALID: false,
|
||||
AUTO_CLICK_SUB : true,
|
||||
};
|
||||
|
||||
@@ -591,8 +591,8 @@
|
||||
</label>
|
||||
<label style="display:flex;align-items:center;cursor:pointer">
|
||||
<input type="checkbox" id="glm-aci" ${CFG.AUTO_CLOSE_INVALID ? 'checked' : ''} style="margin-right:8px">
|
||||
<span style="font-size:14px;color:#555">自动关闭无效弹窗</span>
|
||||
<span title="开启后自动关闭以下弹窗并重试: 1. 接口返回售罄但前端弹出的支付弹窗(二维码支付链接缺参数,扫码也无法付款) 2. 限流弹窗(自动关闭后继续重试) 关闭后遇到异常弹窗会停脚本,需手动处理" style="margin-left:6px;cursor:help;color:#999;font-size:14px;border:1px solid #ccc;border-radius:50%;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;line-height:1">?</span>
|
||||
<span style="font-size:14px;color:#555">自动关闭无效支付/限流弹窗(默认关闭)</span>
|
||||
<span title="默认关闭,需手动开启才会自动关闭。 开启后自动关闭以下弹窗并重试: 1. 接口返回售罄但前端弹出的支付弹窗(二维码支付链接缺参数,扫码也无法付款) 2. 限流弹窗(自动关闭后继续重试) 关闭后遇到异常弹窗会停脚本,需手动处理" style="margin-left:6px;cursor:help;color:#999;font-size:14px;border:1px solid #ccc;border-radius:50%;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;line-height:1">?</span>
|
||||
</label>
|
||||
<label style="display:flex;align-items:center;cursor:pointer">
|
||||
<input type="checkbox" id="glm-acs" ${CFG.AUTO_CLICK_SUB ? 'checked' : ''} style="margin-right:8px">
|
||||
|
||||
Reference in New Issue
Block a user