Fuck5u

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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("已去除防挂机验证!");
})();