Greasy Fork is available in English.

优课联盟uooc助手

try to take over the world!

// ==UserScript==
// @name          优课联盟uooc助手
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  try to take over the world!
// @author       You
// @match        *://cce.org.uooconline.com/home/learn/*
// @match        *://www.uooc.net.cn/home/learn/*
// @grant        none
// ==/UserScript==


(function () {
    'use strict';

//初始化
    function init() {
        document.getElementsByTagName('video')[0].volume = 0;
        document.getElementsByTagName('video')[0].playbackRate = 10;
        setInterval(function () {
            document.getElementsByClassName('vjs-play-control vjs-control vjs-button vjs-paused')[0].click();
        }, 1000);
    }

    setTimeout(init, 1000);

   


})();