Diskussionen » Entwicklungsanfragen
// ==UserScript==// @name 河南建造师安管人员继续教育-刷课-自动播放// @namespace https://www.tuziang.com/combat/2247.html// @version 0.3// @description 自动提交和播放下一节// @author tuziang// @match *://henan*.ok99ok99.com/*// @grant none// ==/UserScript== (function () { 'use strict'; setInterval(function () { var right = document.getElementById("rightiframe").contentWindow.document var left = document.getElementById("leftiframe").contentWindow.document if(right.getElementById("SaveStudyRecord").disabled !== true){ right.getElementById("SaveStudyRecord").click() var lists = left.getElementsByClassName("nofinished") lists[0].getElementsByTagName("a")[0].click() }},2000)})();
可否具体联系微信wandouled,依据您的需求为您定制脚本
Anmelden um eine Antwort zu senden.
// ==UserScript==
// @name 河南建造师安管人员继续教育-刷课-自动播放
// @namespace https://www.tuziang.com/combat/2247.html
// @version 0.3
// @description 自动提交和播放下一节
// @author tuziang
// @match *://henan*.ok99ok99.com/*
// @grant none
// ==/UserScript==
(function () {
'use strict';
setInterval(function () {
var right = document.getElementById("rightiframe").contentWindow.document
var left = document.getElementById("leftiframe").contentWindow.document
if(right.getElementById("SaveStudyRecord").disabled !== true){
right.getElementById("SaveStudyRecord").click()
var lists = left.getElementsByClassName("nofinished")
lists[0].getElementsByTagName("a")[0].click()
}
},2000)
})();