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

选词填空时只是“贴”上去而已,并没有真正选上 #58

Open
6uu1 opened this issue May 20, 2023 · 1 comment
Open

选词填空时只是“贴”上去而已,并没有真正选上 #58

6uu1 opened this issue May 20, 2023 · 1 comment

Comments

@6uu1
Copy link

6uu1 commented May 20, 2023

描述遇到的问题

选词填空时只是“贴”上去而已,并没有真正选上,还需要手动再选一次,不知道是否可以解决

截图

image

你的使用环境

  • eddge(Chrome) 113

  • 脚本管理器及版本

    • 如tamper monkey 4.11,或者脚本猫
  • 扩展类型与版本

    • 如chrome扩展1.0.5,或油猴脚本1.0.5

复现

如何复现你遇到的问题?比如你是在哪门课程的哪一单元的哪一练习,遇到的bug

账号提供

如果能够账号用以调试,有助于解决问题,可以通过邮箱私发我

ssmjae327@gmail.com

@SSmJaE
Copy link
Owner

SSmJaE commented May 22, 2023

要理解为什么只是“贴”上去,需要搞清楚模拟作答的原理

  1. 先获取到答案
  2. 将答案填充到对应的输入框中
  3. 触发网页相关的代码,让官方的程序,“知道”这道题被解答了

对于这种题型,前两步都可以做到
第三步遇到问题,这本书用的是 Angular 这个web框架,我没搞明白怎么触发Angular的提交事件,所以无法实现第三步
你要是感兴趣的话,可以研究研究

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants