banfaucet

Autologin + autoshorts!

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         banfaucet
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Autologin + autoshorts!
// @author       Keno Venas
// @match        https://banfaucet.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=banfaucet.com
// @license      MIT
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var mensagemAlvo = "A timeout occurred";
    var urlRedirecionamento = "https://banfaucet.com/links";
    if (document.body.innerText.includes(mensagemAlvo)) {
        window.location.href = urlRedirecionamento;
    }
    var messageDiv = document.createElement('div');
    messageDiv.style.position = 'fixed';
    messageDiv.style.top = '20px'; // Alterado para 20px para o canto superior
    messageDiv.style.left = '20px';
    messageDiv.style.padding = '10px';
    messageDiv.style.backgroundColor = 'blue';
    messageDiv.style.color = 'black';
    messageDiv.style.borderRadius = '5px';
    messageDiv.style.zIndex = '9999';
    messageDiv.textContent = 'Criado por Keno Venas !!!';
    document.body.appendChild(messageDiv);
    function clicarComDelay() {
        setTimeout(function() {
            var botao = document.querySelector('.col-lg-6:nth-child(1) .btn-one');
            if (botao) {
                botao.click();
            } else {
                console.log('Botão não encontrado.');
            }
        }, 2000);
    }
    clicarComDelay();
    var botoesParaClicar = ['button.btn-submit'];
    function clicarNosBotoes() {
        for (var i = 0; i < botoesParaClicar.length; i++) {
            var botao = document.querySelector(botoesParaClicar[i]);
            if (botao) {
                botao.click();
            }
        }
    }
    function isCaptchaChecked() {
        return grecaptcha && grecaptcha.getResponse();
    }
    var verificarCaptchaInterval = setInterval(function() {
        if (isCaptchaChecked()) {
            clearInterval(verificarCaptchaInterval);
            clicarNosBotoes();
        }
    }, 1000);
    if (window.location.href === "https://banfaucet.com/") {
        window.location.href = "https://banfaucet.com/login";
    }
    function preencherCampos() {
        var emailCampo = 'input#inputEmail';
        var senhaCampo = 'input#inputPassword';
        var email = '[email protected]';
        var senha = 'senha';
        setTimeout(function() {
            $(emailCampo).val(email);
        }, 3000);
        setTimeout(function() {
            $(senhaCampo).val(senha);
        }, 3000);
    }
    function removerCartoes() {
        var cartoes = document.querySelectorAll('div[class="col-lg-6 col-xl-4"]');
        cartoes.forEach(function(cartao) {
            var textoCartao = cartao.innerText;
            if (textoCartao.includes("Earnow.Online") ||
                textoCartao.includes("Shrinkme") ||
                textoCartao.includes("#1 Shortener") ||
                textoCartao.includes("Revcut") ||
                textoCartao.includes("Rsshort") ||
                textoCartao.includes("Cashfly") ||
                textoCartao.includes("Shorti.Io") ||
                textoCartao.includes("Urlcut") ||
                textoCartao.includes("Shrinkearn") ||
                textoCartao.includes("Chainfo") ||
                textoCartao.includes("V2p") ||
                textoCartao.includes("Clk.Sh") ||
                textoCartao.includes("Coinfays") ||
                textoCartao.includes("Usalink") ||
                 textoCartao.includes("Bitss") ||
                textoCartao.includes("Dutchycorp.Ovh") ||
                textoCartao.includes("Adbx") ||
                textoCartao.includes("Inlinks") ||
                textoCartao.includes("C2g") ||
                textoCartao.includes("Clks.Pro")) {
                cartao.remove();
            }
        });
    }
    removerCartoes();
    function redirecionarSeNecessario() {
        if (window.location.href === 'https://banfaucet.com/dashboard') {
            window.location.href = 'http://linksfly.link/banfaucet-com-links';
        }
    }
    preencherCampos();
    removerCartoes();
    redirecionarSeNecessario();
})();