Bypass Pahe Links

Simplify link jumping on pahe ad websites.

Versão de: 20/02/2025. Veja: a última versão.

Você precisará instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Você precisará instalar uma extensão como o Tampermonkey para instalar este script.

Você precisará instalar um gerenciador de scripts de usuário para instalar este script.

(Eu já tenho um gerenciador de scripts de usuário, me deixe instalá-lo!)

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

(Eu já possuo um gerenciador de estilos de usuário, me deixar fazer a instalação!)

// ==UserScript==
// @name         Bypass Pahe Links
// @namespace    https://naeembolchhi.github.io/
// @version      0.78
// @description  Simplify link jumping on pahe ad websites.
// @author       NaeemBolchhi
// @match        http*://teknoasian.com/*
// @match        http*://intercelestial.com/*
// @match        http*://linegee.net/*
// @match        http*://spacetica.com/*
// @match        http*://pahe.plus/*
// @match        http*://oii.la/*
// @match        http*://uii.io/*
// @match        http*://wp2hostt.com/*
// @match        http*://wordcounter.icu/*
// @match        http*://tpi.li/*
// @match        http*://blogmystt.com/*
// @match        http*://old.pahe.plus/*
// @match        http*://hosttbuzz.com/*
// @match        http*://policiesreview.com/*
// @license      GPL-3.0-or-later
// @icon         data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" version="1.1" viewBox="0 0 300 300"><path d="M23.8 205.5c.4-2.3 1.1-4 1.1-5.8.1-13.6 0-27.1 0-40.7 0-5.1-3.3-9-7.8-11-5.6-2.3-11-5.2-16.2-8.2-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.3-.8.3-.8 6.2 0 12.6-1 18.4.5 5.1 1.4 8.6 10.3 5.8 15.5-2.6 4.8-1.5 9.5-2.9 14.1-1.1 3.6-1.4 7.4-2.1 11.1-.6 4.5 1.5 7.5 5.4 10zm58.1-34.7c-13.2 3.7-25.5 7-37.8 10.4-1.4 5.2.4 6 5.1 8.1 11.1 4.9 22.3 1.2 33.4 2.3 2.3.3 4.7-1.6 7.1-1.9 3-.4 6.2-.4 9.3-.5.1.4.3 1 .4 1.4-2.6 1.1-5.1 2.6-7.7 3-7.8 1.2-16.3.4-23.3 3.2-7.1 2.9-14 1.5-20.8 2.2-1 .1-2.2-.4-3.2-.7-6.8-2.1-13.7-4.9-14.8-12.7-.5-3.7 1.4-8.2 3-11.9 2.5-5.8 7.7-7.4 13.3-9.6 7.9-3.2 15.8-1.9 23.7-1.8 3.7 0 7.5 2.5 11 4.4.7.3.7 2.6 1.3 4.1zm-18.1-2.4v-1.1c-1.5-.4-3-1.2-4.4-1-3.3.7-6.6 1.8-9.9 2.7-.3.1-.7 1-.5 1.4.1.4.8 1 1.1 1 2.6-.1 4.9 3.2 7.8.1 1.4-1.5 3.8-2 5.9-3.1z" fill="%230848c9"/></svg>
// @require      https://greatest.deepsurf.us/scripts/456228/code/456228.js?version=1125944
// @run-at       document-body
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function addStyle(css) {
        var head, style;
        head = document.querySelector('head');
        if (!head) {
            window.location.reload();
        }
        style = document.createElement('style');
        style.innerHTML = css;
        head.appendChild(style);
    }

    if (window.location.hostname === "spacetica.com" || window.location.hostname === "old.pahe.plus") {
        addStyle(`
            .btn.btn-primary.btn-xs, a:has(button) {
                position: fixed;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
                z-index: 2147483647 !important;
                opacity: 1 !important;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 4rem;
                border-radius: 0;
            }
            a > button {
                height: 100%;
                width: 100%;
                border-radius: 0;
                font-size: 10vw;
            }
            #backdrop {
                position: fixed;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
                z-index: 2147483645 !important;
                background: black;
                opacity: 1;
                }
            * {
                overflow: hidden;
            }
        `);
    } else if (window.location.hostname === "blogmystt.com" || window.location.hostname === "wp2hostt.com" ||
               window.location.hostname === "intercelestial.com" || window.location.hostname === "linegee.net" ||
               window.location.hostname === "hosttbuzz.com" || window.location.hostname === "policiesreview.com" ||
               window.location.hostname === "teknoasian.com") {
        addStyle(`
            .qc-cmp2-persistent-link {
                z-index: 0;
            }
            #qc-cmp2-container {
                display: none;
            }
            div.wait > center > img,
            #lite-human-verif-button {
                position: fixed;
                left: 0;
                top: 0;
                height: 100%;
                width: 100%;
                z-index: 2147483645 !important;
                background: green;
                opacity: 1 !important;
            }
            #startButton > *,
            #getnewlink > * {
                display: none;
            }
            #generater > img {
                display: none;
            }
            #generater,
            #lite-start-sora-a,
            #startButton,
            .humanVerify .verify {
                position: fixed !important;
                height: 100%;
                width: 50%;
                z-index: 2147483645 !important;
                background: red !important;
                opacity: 1 !important;
                cursor: pointer;
                border: 0;
                outline: 0;
                border-radius: 0;
                box-shadow: unset;
            }
            .skipcontent {
                position: fixed !important;
                height: 100%;
                width: 100%;
                top: 0;
                left: 0;
                z-index: 2147483646 !important;
                margin: auto;
                background: purple !important;
                opacity: 1 !important;
                cursor: pointer;
                border: 0;
                outline: 0;
                border-radius: 0;
                box-shadow: unset;
            }
            #showlink,
            #lite-end-sora-button,
            #getnewlink,
            .postnext {
                position: fixed !important;
                height: 100%;
                width: 50%;
                z-index: 2147483645 !important;
                background: blue !important;
                opacity: 1 !important;
                cursor: pointer;
                border: 0;
                outline: 0;
                border-radius: 0;
                box-shadow: unset;
            }
            #getnewlink, #startButton {
                display: flex !important;
                height: 100% !important;
                width: 50% !important;
                border: 0;
                outline: 0;
                margin: 0 !important;
                border-radius: 0;
                color: transparent;
            }
            @media only screen and (orientation: landscape) {
                #generater,
                #lite-start-sora-a,
                #startButton,
                .humanVerify .verify {
                    left: 0;
                }
                #showlink,
                #lite-end-sora-button,
                #getnewlink,
                .postnext {
                    right: 0;
                }
                #generater, #showlink,
                #lite-start-sora-a,
                #lite-end-sora-button,
                #startButton, #getnewlink,
                .humanVerify .verify,
                .postnext {
                    top: 0;
                    height: 100%;
                    width: 50%;
                }
            }
            @media only screen and (orientation: portrait) {
                #generater,
                #lite-start-sora-a,
                #startButton {
                    top: 0;
                }
                #showlink,
                #lite-end-sora-button,
                #getnewlink {
                    bottom: 0;
                }
                #generater, #showlink,
                #lite-start-sora-a,
                #lite-end-sora-button,
                #startButton, #getnewlink,
                .humanVerify .verify,
                .postnext {
                    left: 0;
                    height: 50%;
                    width: 100%;
                }
            }
            #backdrop {
                position: fixed;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
                z-index: 2147483644 !important;
                background: black;
                opacity: 1;
            }
            #soralink-human-verif-main-cxxd {
                display: none;
            }
            * {
                overflow: hidden;
            }
        `);
    } else if (window.location.hostname === "oii.la" || window.location.hostname === "tpi.li") {
        addStyle(`
            * {
                overflow: hidden !important;
            }
            html, body {
                height: 100%;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                background: darkseagreen;
            }
            html > *:not(body) {
                display: none;
            }
            body > *:not(form) {
                position: fixed;
                top: -200svh;
                left: -200svw;
            }
            body > a.get-link {
                position: fixed;
                height: 100% !important;
                width: 100% !important;
                z-index: 2147483645 !important;
                background: forestgreen;
                opacity: 1 !important;
                left: 0;
                top: 0;
                border-radius: 0 !important;
                display: flex;
                align-items: center;
                justify-content: center;
                border: 0 !important;
                font-size: calc((5svh + 5svw) / 2);
            }
            body > a.get-link:hover, body > a.get-link:focus {
                background: forestgreen;
            }
        `);
    } else if (window.location.hostname === "wordcounter.icu") {
        addStyle(`
            * {
                overflow: hidden !important;
            }
            html, body {
                height: 100%;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                background: black;
            }
            html > *:not(body) {
                display: none;
            }
            button#getlink, #invisibleCaptchaShortlink, a.get-link[href]:not(.disabled) {
                position: fixed;
                height: 100% !important;
                width: 100% !important;
                /*width: 50%;*/
                z-index: 2147483645 !important;
                background: darkslateblue;
                opacity: 1 !important;
                left: 0;
                top: 0;
                border-radius: 0 !important;
                display: flex;
                align-items: center;
                justify-content: center;
                border: 0 !important;
                font-size: calc((5svh + 5svw) / 2);
            }
            a.get-link[href]:not(.disabled) {
                background: forestgreen;
            }
            #backdrop {
                position: fixed;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
                z-index: 2147483644 !important;
                background: black;
                opacity: 1;
            }
            body > div:has(iframe[title*='recaptcha']) {
                z-index: 2147483647;
            }
        `);
    }

    const makeZERO = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'></svg>";

    try {
        let element;

        element = document.createElement("div");
        element.id = "backdrop";
        document.body.appendChild(element);
    } catch {}

    function eraseImages() {
        let allImg = document.querySelectorAll('[src*=".png"],[src*=".jpg"],[src*=".gif"],[src*=".webp"]');

        for (let x = 0; x < allImg.length; x++) {
            allImg[x].src = makeZERO;
        }
    }

    function delayButtons() {
        let countDown = document.querySelectorAll('center span[id^="_"]'),
            generater = document.querySelector('#generater'),
            showlink = document.querySelector('#showlink');

        try {
            if (countDown[0].innerText.match('0 Seconds')) {
                generater.classList.add('ready');
            }
        } catch {}

        try {
            if (countDown[1].innerText.match('0 Seconds')) {
                showlink.classList.add('ready');
            }
        } catch {}
    }

    function fixAdblockBackdrop() {
        let backdrop = document.getElementById('backdrop');

        let backA = backdrop.attributes;

        for (let x = 0; x < backA.length; x++) {
            if (backA[x].name !== 'id') {
                backdrop.removeAttribute(backA[x].name);
            }
        }
    }

    function clickLinks() {
        if (window.doneClick !== true) {
            if (window.location.origin.match(/pahe\.plus/) || window.location.origin.match(/oii\.la/) || window.location.origin.match(/tpi\.li/)) {
                let linkbtn = document.querySelector('.get-link:not(.disabled)');
                window.location.assign(linkbtn.href);
                window.doneClick = true;
            } else if (window.location.origin.match(/wp2hostt\.com/)) {
                let linkbtn = document.querySelector('button#getlink');
                linkbtn.click();
                window.doneClick = true;
            }
        }

        if (window.location.origin.match(/wordcounter\.icu/) && document.readyState === 'complete') {
            if (document.querySelector('#invisibleCaptchaShortlink') && window.doneClick1 !== true) {
                document.querySelector('#invisibleCaptchaShortlink').click();
                window.doneClick1 = true;
            }
            if (document.querySelector('a.get-link[href]:not(.disabled)') && window.doneClick2 !== true) {
                window.location.assign(document.querySelector('a.get-link[href]:not(.disabled)').href);
                window.doneClick2 = true;
            }
        }
    }

    function pullButton() {
        // Bring the captcha/link to the foreground
        if (window.location.hostname === "oii.la" || window.location.hostname === "tpi.li") {
            try {
                let formX = document.querySelector('form:not(.td-search-form):not(.go-link)');
                if (formX.getAttribute('moved') !== 'true') {
                    document.body.appendChild(formX);
                    formX.setAttribute('moved','true');
                    formX.querySelector('button').removeAttribute('onclick');
                    formX.querySelector('button').removeAttribute('disabled');
                }
            } catch {}

            try {
                let linkX = document.querySelector('a.get-link[href]:not(.disabled)');
                if (linkX.getAttribute('moved') !== 'true') {
                    document.body.appendChild(linkX);
                    linkX.setAttribute('moved','true');
                    linkX.removeAttribute('onclick');
                    linkX.removeAttribute('disabled');
                }
            } catch {}
        }
    }

    function clearOnclick() {
        // Remove onclick ads
        let onAds = document.querySelectorAll('*[onclick*="window.open"]');

        for (let x = 0; x < onAds.length; x++) {
            onAds[x].removeAttribute('onclick');
        }
    }

    function teknoAutomatic() {
        // Autoclick Tekoasian
        let verify = document.querySelector('.humanVerify .verify'),
            skipcontent = document.querySelector('.skipcontent'),
            postnext = document.querySelector('.postnext');

        if (verify && window.clickVerify !== 'true') {
            try {
                verify.click();
                window.clickVerify = 'true';
            } catch {}
        }
        if (skipcontent && window.clickSkipContent !== 'true') {
            try {
                skipcontent.click();
                window.clickSkipContent = 'true';
            } catch {}
        }
        if (postnext && window.clickPostNext !== 'true') {
            try {
                postnext.closest('form').submit();
                window.clickPostNext = 'true';
            } catch {}
        }
    }

    function blogmysttAutomatic() {
        // Autoclick blogmystt
        let first = document.querySelector('a#startButton'),
            second = document.querySelector('button#getnewlink');

        if (window.clickFirst !== 'true') {
            try {
                first.click();
                window.clickFirst = 'true';
            } catch {}
        }
        if (window.clickSecond !== 'true') {
            try {
                second.click();
                window.clickSecond = 'true';
            } catch {}
        }
    }

    setInterval(function() {
        try{clickLinks();} catch {}
        try{fixAdblockBackdrop();} catch {}
        try{pullButton();} catch {}
        try{clearOnclick();} catch {}
        try{teknoAutomatic();} catch {}
        try{blogmysttAutomatic();} catch {}
        try{eraseImages();} catch {}
    }, 10);
})();