优化:反挂壁检测、先淦今天再补以前、弹窗自愈、VNC视奸一条龙 - #1
Open
alsunmengy wants to merge 5 commits into
Open
Conversation
- 跳过外挂检测弹窗(自动识别并点击"我知道了") - 只处理当日任务,不补之前 - 弹窗关闭后自动恢复播放和倍速 - 增加VNC虚拟桌面支持(Xvfb :99 + noVNC 5801) - 页面关闭/崩溃不崩,自动跳过
之前JS设随机倍速会导致弹窗循环(恢复倍速→触发检测→弹窗→恢复倍速...)。 改为点击播放器自带的2.0倍速按钮,弹窗关闭后只恢复play(),倍速由浏览器保留。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
都改了啥
1. 🛡️ 反挂壁检测
ewt360 会弹窗说检测到第三方辅助工具,脚本会自动识别然后点「我知道了」关掉。弹窗关掉后只恢复播放,不重新设倍速,不会触发死循环。
2. 📅 先淦今天再补以前
以前的逻辑是从头到尾全扫一遍,现在改成:
3. 🔄 弹窗自愈
弹窗关掉后视频自动续播,倍速保持2.0x不变,稳得一匹。
4. 📺 VNC 视奸支持
加了 Xvfb :99 + x11vnc + noVNC 一套,手机浏览器打开就能像看直播一样看着脚本干活。
5. 💪 其他