Greasy Fork is available in English.

cmatc reload

cmatc定时重载

// ==UserScript==
// @name         cmatc reload
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  cmatc定时重载
// @author       minhill
// @include        http://www.cmatc.cn/lms/app/lms/student/Learn/enterUrl.do*
// @icon         https://www.google.com/s2/favicons?domain=cmatc.cn
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    function reload(){
        window.onbeforeunload = '';
        window.location.href=window.location.href;
        window.location.reload;
    }
    setTimeout(reload, 2000000 );

    // Your code here...
})();