Fuck5u

开启进度条并去除防挂机验证

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Fuck5u
// @version      0.1
// @description  开启进度条并去除防挂机验证
// @author       Hadwin
// @include      http://hz.5u5u5u5u.com/studyOnLine.action*
// @grant        unsafeWindow
// @namespace https://greasyfork.org/users/186511
// ==/UserScript==

(function() {
    'use strict';
    var list_a = document.getElementsByName("flashvars");
    for(var i=0; i<list_a.length; i++) {
        //console.log(list_a[i].value);
        list_a[i].value = list_a[i].value.replace("uiMode=3", "uiMode=1");
        //console.log(list_a[i].value);
    }
    unsafeWindow.randomTime = 999999999;
    unsafeWindow.$(document).off("hide");
    unsafeWindow.courseware.ruleDto.mouseKeyboard = 0;
    console.log("已开启进度条!");
    console.log("已去除防挂机验证!");
})();