腾讯课堂自动签到、答题

try to fuck over the fucking teachers who care you a lot

  1. // ==UserScript==
  2. // @name 腾讯课堂自动签到、答题
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description try to fuck over the fucking teachers who care you a lot
  6. // @author BowenYou
  7. // @match https://ke.qq.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. const timer = setInterval(function () {
  15. var date = new Date();
  16. let sj = date.getHours() + "-" + date.getMinutes();
  17. let signIn = document.getElementsByClassName("s-btn--m")[0];
  18. if (signIn) {
  19. let signInValue = signIn.innerHTML;
  20. if (signInValue == "签到") {
  21. console.log(sj + "签到");
  22. signIn.click();
  23. // clearInterval(timer);
  24. }else {
  25. console.log(sj + "回答问题")
  26. signIn.click();
  27. }
  28. return;
  29. }
  30. console.log(sj + "不存在");
  31. }, 1000)
  32. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址