kiddyearner

Auto shorts!!!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         kiddyearner
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Auto shorts!!!
// @author       keno venas 
// @match        https://kiddyearner.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=kiddyearner.com
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    function clicarBotaoComDelay() {
        setTimeout(function() {
            var botao = document.querySelector('button.btn');
            if (botao) {
                botao.click();
            } else {
                console.log('Botão não encontrado.');
            }
        }, 12000);
    }

    // Função para clicar no botão '.col-lg-6:nth-child(1) .claim-btn' após um atraso de 5 segundos
    function clicarClaimBtnComDelay() {
        setTimeout(function() {
            var claimBtn = document.querySelector('.col-lg-6:nth-child(1) .claim-btn');
            if (claimBtn) {
                claimBtn.click();
            } else {
                console.log('Botão de claim não encontrado.');
            }
        }, 5000);
    }
    function clicarNosBotoes() {
        var botoesParaClicar = ['button.btn-submit'];
        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);
    clicarBotaoComDelay();
    clicarClaimBtnComDelay();
    if (window.location.href === "https://kiddyearner.com/") {
        window.location.href = "https://cuty.io/RvXT25O1";
    }

    if (window.location.href === "https://kiddyearner.com/dashboard") {
        window.location.href = "https://cuty.io/FSJh";
    }
    function preencherCampos() {
        var emailCampo = 'input#email';
        var senhaCampo = 'input#password';
        var email = '[email protected]';
        var senha = 'suasenha ';
        setTimeout(function() {
            $(emailCampo).val(email);
        }, 3000);

        setTimeout(function() {
            $(senhaCampo).val(senha);
        }, 3000);
    }
    function removerCartoes() {
        var cartoes = document.querySelectorAll('div[class="col-lg-6"]');
        cartoes.forEach(function(cartao) {
            var textoCartao = cartao.innerText;
            if (
                textoCartao.includes("Rs short") ||
                textoCartao.includes("Shortsme") ||
                textoCartao.includes("FC LC") ||
                textoCartao.includes("clk") ||
                textoCartao.includes("Shrinkearn") ||
                textoCartao.includes("Coinfays") ||
                textoCartao.includes("CTR") ||
                textoCartao.includes("Clks"))
            {
                cartao.remove();
            }
        });
    }
    preencherCampos();
    removerCartoes();

})();