石铁继续教育小助手
石铁继续教育小助手
try to take over the world!
// ==UserScript==
// @name 石铁继续教育小助手
// @namespace http://jxjy.stdu.edu.cn/student/
// @version 0.1
// @description try to take over the world!
// @author SA.Li
// @match http://jxjy.stdu.edu.cn/student/*
// @grant none
// @require https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js
// ==/UserScript==
(function() {
'use strict';
// Your code here...
setInterval(function(){
$("#rememberTime").click();
//出现下一节提示框
if ( $(".layui-layer-title").length > 0 ) {
$("#nextChapter").click();
// setTimeout(function(){
// }, 5000);
console.log("下一节开始播放");
}
else{
$("button.vjs-big-play-button").click();//点击播放
console.log("接着看吧,时长记录了");
}
},5000);
})();
打赏采用二维码方式。
