Greasy Fork is available in English.

2021年广东省教师继续教育公需课-真·全自动版本

《人工智能发展与产业应用》和《科技创新现状与发展趋势》自动识别,自动静音看视频,完成后自动切换到下一个,自动屏蔽中途答题,自动满分考核,考核完成后自动跳转到进度页面,完成情况一目了然,总之自动就完事!

Встановити цей скрипт?
Скрипт запропонований Автором

Вам також може сподобатись 山东省菏泽市继续教育.

Встановити цей скрипт
  1. // ==UserScript==
  2. // @name 2021年广东省教师继续教育公需课-真·全自动版本
  3. // @namespace https://jsglpt.gdedu.gov.cn
  4. // @version 1.0.1
  5. // @description 《人工智能发展与产业应用》和《科技创新现状与发展趋势》自动识别,自动静音看视频,完成后自动切换到下一个,自动屏蔽中途答题,自动满分考核,考核完成后自动跳转到进度页面,完成情况一目了然,总之自动就完事!
  6. // @author 星星课
  7. // @include *study/course/c_4e9f50e2756a4bf5ad1ca9696672681a*
  8. // @include *study/course/c_f03e978ceb05464095427119fd8c9ada*
  9. // @icon http://jsxx.gdedu.gov.cn/ncts/custom/gongxu/images/favicon.ico
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function () {
  14. 'use strict';
  15. var c_f03e978ceb05464095427119fd8c9ada = { "qti_item_Q1:2:1_RESPONSE": [[0], [1]], "qti_item_Q2:3:1_RESPONSE": [[0], [1]], "qti_item_Q3:4:1_RESPONSE": [[1]], "qti_item_Q4:5:1_RESPONSE": [[1]], "qti_item_Q5:6:1_RESPONSE": [[1]], "qti_item_Q6:7:1_RESPONSE": [[0], [1]], "qti_item_Q7:8:1_RESPONSE": [[0], [1]], "qti_item_Q8:9:1_RESPONSE": [[1]], "qti_item_Q9:10:1_RESPONSE": [[0], [1]], "qti_item_Q10:11:1_RESPONSE": [[0], [1]], "qti_item_Q11:12:1_RESPONSE": [[0], [1], [2], [3]], "qti_item_Q12:13:1_RESPONSE": [[1], [2], [3]], "qti_item_Q13:14:1_RESPONSE": [[2], [3]], "qti_item_Q14:15:1_RESPONSE": [[1], [2], [3]], "qti_item_Q15:16:1_RESPONSE": [[1], [2], [3]], "qti_item_Q16:17:1_RESPONSE": [[1], [2], [3]], "qti_item_Q17:18:1_RESPONSE": [[0], [1], [2], [3]], "qti_item_Q18:19:1_RESPONSE": [[0], [1], [2], [3]], "qti_item_Q19:20:1_RESPONSE": [[3]], "qti_item_Q20:21:1_RESPONSE": [[1], [2], [3]], "qti_item_Q21:22:1_RESPONSE": [[0, 2], [0, 3], [1, 2], [1, 3], [2, 3], [0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q22:23:1_RESPONSE": [[0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q23:24:1_RESPONSE": [[0, 1, 2, 3]], "qti_item_Q24:25:1_RESPONSE": [[0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q25:26:1_RESPONSE": [[0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q26:27:1_RESPONSE": [[0, 1], [0, 2], [0, 3], [1, 2], [1, 3], [2, 3], [0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q27:28:1_RESPONSE": [[0, 1, 2, 3]], "qti_item_Q28:29:1_RESPONSE": [[0, 1, 2, 3]], "qti_item_Q29:30:1_RESPONSE": [[1, 3], [2, 3], [0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q30:31:1_RESPONSE": [[0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]] };
  16. var c_4e9f50e2756a4bf5ad1ca9696672681a = { "qti_item_Q1:2:1_RESPONSE": [[0], [1]], "qti_item_Q2:3:1_RESPONSE": [[0], [1]], "qti_item_Q3:4:1_RESPONSE": [[1]], "qti_item_Q4:5:1_RESPONSE": [[1]], "qti_item_Q5:6:1_RESPONSE": [[0], [1]], "qti_item_Q6:7:1_RESPONSE": [[0], [1]], "qti_item_Q7:8:1_RESPONSE": [[1]], "qti_item_Q8:9:1_RESPONSE": [[1]], "qti_item_Q9:10:1_RESPONSE": [[1]], "qti_item_Q10:11:1_RESPONSE": [[0], [1]], "qti_item_Q11:12:1_RESPONSE": [[1], [2], [3]], "qti_item_Q12:13:1_RESPONSE": [[0], [1], [2], [3]], "qti_item_Q13:14:1_RESPONSE": [[0], [1], [2], [3]], "qti_item_Q14:15:1_RESPONSE": [[0], [1], [2], [3]], "qti_item_Q15:16:1_RESPONSE": [[2], [3]], "qti_item_Q16:17:1_RESPONSE": [[1], [2], [3]], "qti_item_Q17:18:1_RESPONSE": [[0], [1], [2], [3]], "qti_item_Q18:19:1_RESPONSE": [[0], [1], [2], [3]], "qti_item_Q19:20:1_RESPONSE": [[0], [1], [2], [3]], "qti_item_Q20:21:1_RESPONSE": [[1], [2], [3]], "qti_item_Q21:22:1_RESPONSE": [[0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q22:23:1_RESPONSE": [[0, 1, 2, 3]], "qti_item_Q23:24:1_RESPONSE": [[1, 2, 3], [0, 1, 2, 3]], "qti_item_Q24:25:1_RESPONSE": [[0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q25:26:1_RESPONSE": [[0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q26:27:1_RESPONSE": [[0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q27:28:1_RESPONSE": [[0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q28:29:1_RESPONSE": [[0, 1, 2, 3]], "qti_item_Q29:30:1_RESPONSE": [[0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]], "qti_item_Q30:31:1_RESPONSE": [[0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [0, 1, 2, 3]] };
  17. var answer_dict = { "c_4e9f50e2756a4bf5ad1ca9696672681a": c_4e9f50e2756a4bf5ad1ca9696672681a, "c_f03e978ceb05464095427119fd8c9ada": c_f03e978ceb05464095427119fd8c9ada }
  18. setInterval(() => {
  19. if (typeof (isComplete) == "boolean") {
  20. if(isComplete==false){
  21. player.videoPlay();
  22. player.volume = 0;
  23. $('input[id^=time]').remove();}
  24. else{
  25. console.log("下一个");
  26. goNext();
  27. }
  28. }
  29. if (typeof (isComplete) == "undefined") {
  30. alert("开始考核");
  31. var paper_name = location.pathname.split("course/")[1];
  32. var answer = answer_dict[paper_name];
  33. $.each(answer, function (name, chooses) {
  34. name = name.replace("item", "response");
  35. var input_tags = $("input[name=\"" + name + "\"]");
  36. $.each(chooses[0], function () {
  37. input_tags.eq(this).attr("checked", "checked");
  38. input_tags.eq(this).parent().addClass("on");
  39. });
  40. });
  41. finishTest();
  42. window.location = "/" + paper_name + "/study/course/progess"
  43. }
  44. }, 3e3);
  45. })();