CoinPayz

Auto Shorts

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         CoinPayz
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Auto Shorts
// @author       keno venas
// @license      MIT
// @match        https://coinpayz.xyz/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=coinpayz.xyz
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function clicarComDelay() {
        setTimeout(function() {
            var botao = document.querySelector('.col-lg-3:nth-child(1) .btn');
            if (botao) {
                botao.click();
            } else {
                console.log('Botão não encontrado.');
            }
        }, 5000);
    }
    clicarComDelay();
    if (window.location.href === "https://coinpayz.xyz/dashboard") {
        window.location.href = "https://coinpayz.xyz/links";
    }
    function removerCartoes() {
        var cartoes = document.querySelectorAll('div[class="col-lg-3"]');
        cartoes.forEach(function(cartao) {
            var textoCartao = cartao.innerText;
            if (textoCartao.includes("Earnow") ||
                textoCartao.includes("Revcut") ||
                textoCartao.includes("Cutlink") ||
                textoCartao.includes("Easycut") ||
                textoCartao.includes("Earnow") ||
                textoCartao.includes("Ctr.sh")) {
                // Remover o cartão
                cartao.remove();
            }
        });
    }
    removerCartoes();
})();