制杖树 (已失效)

[已失效] 自动关闭弹窗(需要事先答题)并继续播放

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
PRO-2684
Daily installs
0
Total installs
426
Ratings
0 0 0
Version
0.2
Created
2021-10-02
Updated
2023-03-09
Size
1.1 KB
License
Unlicense
Applies to

⚠️ 注意

智慧树已启用新的加密/反脚本技术,此脚本失效,仅留作学习参考

用途

自动关闭观看课程时的弹窗测试并自动继续播放视频。

使用方法

  1. 安装脚本(如已安装请跳过)
  2. 打开某个课程界面
  3. 点击“关闭脚本”
  4. 点击视频下方的小点,手动完成所有答题测验
  5. 点击“打开脚本”
  6. 当有弹窗测验时脚本会自动关闭它,视频暂停时自动继续播放

原理

设置定时器函数,每5s检查是否有弹窗以及视频是否暂停。若有弹窗则删除之,若暂停则模拟点击视频以继续播放。

注意

此脚本不能实现自动答题,只能实现自动关闭弹窗自动继续播放。虽然理论上在未答题情况下也能关闭弹窗,但是强烈建议事先禁用脚本并答题后再使用此脚本,以免在后台留下不良记录。(抓包可以发现弹窗答题时有网络请求,但是关闭弹窗时没有)

常见问题

  1. 视频下方的小圆点无法点击/点击无反应:关闭脚本后刷新界面

演示视频(已完成弹窗测试后)

https://pro-2684.lanzoui.com/irkShusgeqj