TTAV

Educational Purpose (they said)

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         TTAV
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Educational Purpose (they said)
// @author       kangoka
// @include      https://fireliker.com/*
// @include      https://lputorrents.xyz/*
// @match        https://bugsliker.me/index.php?info=Session_Expired// @grant        GM_addStyle
// @grant        none
// ==/UserScript==

if (document.getElementsByClassName("form-control fireliker-style-text-mono text-warning").length > 0) {
    $('input[placeholder="Username"]').val('YOUR_USERNAME'); //Change YOUR_USERNAME with your username
    setTimeout(function () {
        lp();
    }, 2000);


} else {
    welcome();
}

welcome();

function welcome() {
    if (document.getElementsByClassName("fa fa-play-circle").length > 0) {
        document.getElementsByClassName("fa fa-play-circle")[0].click();
    }
}

setTimeout(lp, 13000); 

function lp() {
    window.location.href = 'https://fireliker.com/autoViews.php';
}

setTimeout(changeValue, 2000);

function changeValue() {
    waitForKeyElements(".form-control:has(option[value=5])", selectFinickyDropdown); 

    function selectFinickyDropdown(jNode) {
        var evt = new Event("click");
        jNode[0].dispatchEvent(evt);

        /*
            you can change value below
            1 = 200 views
            2 = 400 views
            3 = 600 views
            4 = 800 views
            5 = 1000 views
        */
        jNode.val('5');

        evt = new Event("change");
        jNode[0].dispatchEvent(evt);
    }
}

setTimeout(sendViews, 2000);

function sendViews() {
    if (document.getElementsByClassName("btn btn-warning").length > 0) {
        document.getElementsByClassName("btn btn-warning")[0].click();
    }
}


setTimeout(makeSure, 30000);

//Sometimes the website didn't load correctly, so to avoid that, I create this function
function makeSure(){
    window.location.href = 'https://fireliker.com/welcome.php';
}

if (window.location.href == 'https://bugsliker.me/index.php?info=Session_Expired'){
    window.location.href = 'https://fireliker.com/welcome.php';
}