Greasy Fork is available in English.

东软慕课刷脚本

try to take over the world!

// ==UserScript==
// @name         东软慕课刷脚本
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       yefeng
// @match        *://mooc.neumooc.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
     var api=document.getElementsByClassName("fp-engine hlsjs-engine");
    function afind(){
          //  alert("生效");
			api[0].play();
    }
    function bbb(){api[0].play();};
    setTimeout(afind,3000);
    window.onblur = afind;

    setInterval(bbb,1000);

})();