Skip MoneyZ, leitup and many more

Fuck Ads

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
// ==UserScript==
// @name               Skip MoneyZ, leitup and many more
// @description        Fuck Ads
// @author             BAlexGG
// @version            1.2.1
// @license            MIT
// @namespace          https://t.me/BruhCodeME
// @namespace          https://greasyfork.org/ru/users/938036-bull-yt
// @match              *://*moneyz.fun/*
// @match              *://*leitup.com/*
// @match              *://*oxy.st/*
// @match              *://*oxy.cloud/*
// @match              *://*healthyteeth.tips/*
// @match              *://*download.oxy.st/*
// @match              *://*download.oxy.cloud/*
// @match              *://*download.healthyteeth.tips/*
// @match              *://*questunlock.com/*
// @match              *://*qus.su/*
// @match              *://*recutservice.com/*
// @icon               https://i.ibb.co/pKzH6DT/icon.png
// @require            https://code.jquery.com/jquery-3.6.0.min.js
// ==/UserScript==
/* eslint-env jquery */
$(document).ready(function(){
    'use strict';
    if (location.hostname.endsWith("moneyz.fun") && /^\/\w{6}$/gm.exec(window.location.pathname) != null)
    {
        var link_key = $.trim($('#page_link_key').val()), link_full_val = $.trim($('#page_link_full_val').val());
        $.ajax({
            type:'post', url: 'https://moneyz.fun/action.php', data: {'click_link_key': link_key},
            success: function(response){
                window.location.replace("//" + JSON.parse(response).link_full_val.replace(/(https?:)?\/\//i,''));
            }
        })
    }
    if (location.hostname.endsWith("leitup.com") && /^\/\w{4}$/gm.exec(window.location.pathname) != null)
    {
        window.location.replace(document.getElementsByClassName("form-control")[0].placeholder);
    }
    if ((location.hostname.endsWith("oxy.cloud") || location.hostname.endsWith("oxy.st")) && /^\/d\/\w{2,8}$/gm.exec(window.location.pathname) != null)
    {
        window.location.replace($('a.btn.btn-primary.btn-lg').attr('href'));
    }
    if (location.hostname.endsWith("healthyteeth.tips") && /^\/d\/\w{2,8}(\?|)$/gm.exec(window.location.pathname) != null)
    {
        window.location.replace($('a.btn.btn-primary.btn-lg').attr('href'));
    }
    if ((location.hostname.endsWith("oxy.cloud") || location.hostname.endsWith("oxy.st")) && /^\/d\/\w{2,8}\/2\/[a-f\d]{32}$/gm.exec(window.location.pathname) != null)
    {
        window.location.replace("//" + /(download\.|)oxy\.(cloud|st)\/get\/[\da-f]{32}/gm.exec(document.scripts[10].outerHTML)[0]);
    }
    if (location.hostname.endsWith("healthyteeth.tips") && /^\/d\/\w{2,8}\/2\/[a-f\d]{32}$/gm.exec(window.location.pathname) != null)
    {
        window.location.replace("//" + /healthyteeth\.tips\/get\/[\da-f]{32}/gm.exec(document.scripts[13].outerHTML));
    }
    if (location.hostname.endsWith("questunlock.com") && /^\/q\/\w{2,8}$/gm.exec(window.location.pathname) != null)
    {
        window.location.replace("https://qus.su/quest" + /\/\w{2,8}$/gm.exec(window.location.pathname));
    }
    if (location.hostname.endsWith("qus.su") && /^\/quest\/\w{2,8}$/gm.exec(window.location.pathname) != null)
    {
        window.location.replace(/http(s|):\/\/([\w\-]+\.)+[\w\-]+\/.*?"/gm.exec(document.scripts[17].outerHTML)[0].replace("\"",""));
    }
    /*if (location.hostname.endsWith("recutservice.com") && /^\/q\/\w{2,8}$/gm.exec(window.location.pathname) != null)
    {
        window.location.replace("https://qus.su/quest" + /\/\w{2,8}$/gm.exec(window.location.pathname));
    }*/
})();