LAW

LC AUTO WATCH

当前为 2022-08-30 提交的版本,查看 最新版本

// ==UserScript==
// @name         LAW
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  LC AUTO WATCH
// @author       You
// @match        https://edu.inspur.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=inspur.com
// @grant        none
// ==/UserScript==
function refreshSchedule(){
    const ScheduleText=document.getElementById('ScheduleText').innerText;
    if(ScheduleText==="100%"){
        window.history.back(-1);
    }else{
        console.log(ScheduleText);
    }
}

(function() {
    'use strict';
    phaseTrackIntervalTime = 60000;
    const tbodyTrainInfo=document.getElementById('tbodyTrainInfo');
    
    const timer=null;
    clearInterval(timer);
    timer=setInterval(() => {
        refreshSchedule();
    }, 10000);
    // Your code here...
})();