超星学习助手,简单免费

自动跳到下一节,简单免费,不会答题

目前為 2023-03-31 提交的版本,檢視 最新版本

// ==UserScript==
// @name         超星学习助手,简单免费
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  自动跳到下一节,简单免费,不会答题
// @author       bingkx
// @match        http://*.chaoxing.com/mycourse/studentstudy?*
// @match        */mycourse/studentstudy?*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=chaoxing.com
// @grant        none
// @run-at       document-end
// @license      GPL3
// ==/UserScript==

(function() {
    'use strict';
    // Your code here...
    window.autoCheckTM=setInterval(checkEnd, 60*1000);
    window.autoCheckTime=0;
    videoAutoPlay=1;
    alert=function (){}; //取消弹出窗口提示
    function checkEnd(){
        playFirstVideo();
        autoCheckTime+=1;
        if (checkJob()==false){
            var sta=JSON.parse($("#_studystate").val().replace("nextChapterId","\"nextChapterId\"").replace("unfinishCount","\"unfinishCount\""));
            var nextChapterId=sta.nextChapterId;
            var curCourseId=$("#curCourseId").val();
            var curChapterId=$("#curChapterId").val();
            var curClazzId=$("#curClazzId").val();
            if(nextChapterId){
                getTeacherAjax(curCourseId,curClazzId,nextChapterId)
            }
        }
    }

})();

QingJ © 2025

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