BANANO SHORTS

Remove cartões específicos da página e clica em um botão após a remoção dos cartões

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         BANANO SHORTS
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Remove cartões específicos da página e clica em um botão após a remoção dos cartões
// @author       Maestro01
// @match        https://banfaucet.com/links
// @grant        none
// @license MIT
// @icon         https://www.google.com/s2/favicons?sz=64&domain=banfaucet.com
// ==/UserScript==

  //CADASTRE->  https:banfaucet.com/?r=180865
(function() {
    'use strict';

    // Função para remover os cartões indesejados
    function removerCartoes() {
        var cartoes = document.querySelectorAll('div.col-lg-6.col-xl-4');
        cartoes.forEach(function(cartao) {
            var textoCartao = cartao.innerText;
            // Lista de textos que indicam cartões a serem removidos
            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();
            }
        });
    }

    // Função para clicar no botão após a remoção dos cartões
    function clicarNoBotao() {
        var botao = document.querySelector('.col-lg-6:nth-child(1) .btn-one');
        if (botao) {
            botao.click();
        }
    }

    // Chamar a função para remover os cartões
    removerCartoes();

    // Aguardar um segundo para garantir que a remoção dos cartões seja concluída antes de clicar no botão
    setTimeout(clicarNoBotao, 1000);

})();