Greasy Fork is available in English.
石家庄铁道大学继续教育学院
// ==UserScript==
// @name 石铁继续教育小助手
// @namespace http://jxjy.stdu.edu.cn/student/
// @version 1.2
// @description 石家庄铁道大学继续教育学院
// @author SA.Li
// @match http://jxjy.stdu.edu.cn/student/*
// @match http://220.194.70.38/student/*
// @grant none
// @require https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js
// ==/UserScript==
(function() {
'use strict';
// Your code here...
let videodom=document.querySelector('video')
setTimeout(function () {
setInterval(function(){
$("#rememberTime").click();
console.log("接着看吧,时长已记录");
if(videodom!==null){
if(videodom.ended==true){
document.querySelector('#nextChapter').click()
console.log("下一节开始播放");
}
if(videodom.paused==true){
document.querySelector('.vjs-poster').click()
console.log("继续播放");}
}
}, 5000)}, 9000)
})();