LeechPremium絶対殺すマン

We are Smarter than youに負けなくなり、もしかしたら広告のいくつかを無かったことにするかもしれません。

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 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.

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

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         LeechPremium絶対殺すマン
// @namespace    http://hogehoge/
// @version      1.*
// @description  We are Smarter than youに負けなくなり、もしかしたら広告のいくつかを無かったことにするかもしれません。
// @author       H. Amami
// @match        http://leechpremium.link/cheat/?link=*
// @match        http://89.36.220.56/cheat/?link=*
// @match        http://94.177.229.115/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

function getLink(url) {
    var index, base64, next;
    index = url.lastIndexOf("http");
    next = url.slice(index);
    while (~(index = next.lastIndexOf("aHR0"))) {
        base64 = next.slice(index);
        if (base64.substr(-1) === "/") base64 = base64.substr(0, base64.length - 1);
        next = atob(base64);
        index = next.lastIndexOf("http");
        next = next.slice(index);
    }
    return next;
}

(function() {
    'use strict';
    var domain = location.href.split("/")[2];
    if (domain !== "94.177.229.115") {
        location.href = getLink(location.href);
    } else {
        location.href = getLink(document.getElementById("btn-main").href);
    }
})();