Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[智慧树助手]脚本已失效 #9

Closed
ghost opened this issue May 12, 2022 · 1 comment
Closed

[智慧树助手]脚本已失效 #9

ghost opened this issue May 12, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented May 12, 2022

出现问题的脚本名称:
智慧树助手

描述问题
脚本被检测异常

复现步骤
进入共享课视频界面

屏幕截图

Snipaste_2022-05-12_12-03-23

如果使用的是电脑,请填写下列信息:

  • 操作系统:Windows

  • 浏览器:Chrome 101.0.4951.5

  • 脚本管理器:TamperMonkey V4.16

@ghost ghost added the bug Something isn't working label May 12, 2022
@the-eric-kwok
Copy link
Owner

目前脚本已经没有任何作用。
由于浏览器JavaScript的限制,所有通过JavaScript触发的点击事件都是不被信任的,智慧树便是通过这个方法检测是否使用了用户脚本的,此限制无法绕过,也就无法解决脚本检测的问题。
此外在考试和作业页面中,智慧树很鸡贼地将题目内容放到了一个关闭的shadow root中,JavaScript无法访问、读取题目内容,因此无法复制和查题了。此限制同样无法绕过。
如有需要可以找一下是否有配合Selenium自动化的刷课工具吧,各位再见,前程多保重!

@the-eric-kwok the-eric-kwok pinned this issue May 31, 2022
@the-eric-kwok the-eric-kwok changed the title [智慧树助手][BUG]脚本被检测异常 [智慧树助手]脚本已失效 May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant