您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
广东公需课和继教刷课,章节完成自动进入下章
当前为
// ==UserScript== // @name 广东继续教育和公需课自动刷课半自动版 // @namespace https://gf.qytechs.cn/ // @version 1.0.3 // @description 广东公需课和继教刷课,章节完成自动进入下章 // @author Cosil.C // @icon https://ggfw.gdhrss.gov.cn/favicon.ico // @match http*://ggfw.gdhrss.gov.cn/zxpx/auc/play* // @match http*://ggfw.hrss.gd.gov.cn/zxpx/auc/play* // @license GPLv3 // ==/UserScript== setTimeout(function () { //静音 p.tag.muted = true; let new_map = {}; let keys = [30, 35]; //现在不答题会禁止挂课,先把题目调到前面答了再继续 let i = 0; for (const timestamp in map) { let key = keys[i]; new_map[key] = map[timestamp]; i = i + 1; } map = new_map; var errChecking = setInterval(function () { //if($(".prism-ErrorMessage").css("display")!='none'){ // location.reload(); //} if ($('.learnpercent').text().indexOf('已完成') != -1) { var learnlist = $("a:contains('未完成')").length != 0 ? $("a:contains('未完成')") : $("a:contains('未开始')"); if (learnlist.length == 0) { if (confirm('本课程全部学习完成!即将关闭页面!')) { window.close(); } } else { learnlist.each(function () { this.click(); }) } } if (document.querySelector('.panel')) { document.querySelector('#aadiv').click(); document.querySelector('.reply-sub').click(); if (document.querySelector(".messager-body > div:nth-child(2)").textContent.indexOf('错误') != -1) { document.querySelector(".l-btn").click(); document.querySelector('#bbdiv').click(); document.querySelector('exam-subject-btn').click(); } else{ document.querySelector(".l-btn").click(); } } else { //暂停时自动开始播放 if (p.paused()) { p.play() } } }, 500)//错误自动刷新 }, 1000);//延时1秒进行
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址