您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
功能1:自动考试,功能2:挂机看视频,3.可以随时开始期末考试。使用本工具之前请先安装脚本管理器https://www.tampermonkey.net/
当前为
// ==UserScript== // @name 广东理工学院学习工具 // @namespace http://tampermonkey.net/ // @version 0.2 // @description 功能1:自动考试,功能2:挂机看视频,3.可以随时开始期末考试。使用本工具之前请先安装脚本管理器https://www.tampermonkey.net/ // @author 雾中仙 // @match *.edu-edu.com/exam/student/exam/start/* // @icon https://www.google.com/s2/favicons?sz=64&domain=aliyundrive.com // @grant none // ==/UserScript== (function() { 'use strict'; if (location.href.startsWith('https://whcj.edu-edu.com/cws/home/couresware/play/')) { clearInterval(2) } else { window.onload = () => { let iframe = document.createElement("iframe") iframe.src = 'https://whcj.edu-edu.com/exam-admin/home/my/exam/review/'+__ExamIns.userExamId iframe.onload = () => { $.getJSON("/exam/student/exam/answer/"+__ExamIns.userExamId,(res) =>{ let paper = document.querySelector(".ui-paper-iframe").contentDocument for (let i=0;i<res.answers.length;i++){ let answers = res.answers[i].answer.split("") for(let j=0;j<answers.length;j++){ paper.querySelector("#q_" + res.answers[i].questionId +" [code='" + answers[j] +"'] span").click() } } __ExamIns.SaveItem(null,null,null,null,function(){ $.post('/exam/student/exam/submit/'+__ExamIns.userExamId,{}, function(){ window.location=__ExamIns.basePath+'/finished/'+__ExamIns.userExamId }) }) }) } document.body.append(iframe) } } })();