memearns.com

Faucet claim

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

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

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @name         memearns.com
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Faucet claim
// @author       Gysof
// @match        https://memearns.com/*
// @icon         https://memearns.com/public/morph/auth/img/logocolored.png
// @grant        none
// @criado       2024-05-22
// @modificado   2024-05-22
// ==/UserScript==

// Register here - https://memearns.com/?r=2071
// You will need Hcaptcha and Recaptcha solver - link - https://chromewebstore.google.com/detail/captcha-solver-auto-hcapt/hlifkpholllijblknnmbfagnkjneagid
// You will need AB Links Solver - I recommend mbsolver
// Editar email e pass linha 26 - 27
// Reivindicar faucet a cada 2 minutos em (Faucet) ou a cada 1 minuto em (1 Minute Faucet)

(function() {
    'use strict';

    // Editar email e senha
    const email = "Your@Email"; // Substitua com seu email
    const senha = "YouPassword"; // Substitua com sua senha

    if (window.location.href === "https://memearns.com/") {
        window.location.href = "https://memearns.com/login";
    } else if (window.location.href === "https://memearns.com/dashboard") {
        window.location.href = "https://memearns.com/faucet";
    }

    window.addEventListener('load', function() {
        if (window.location.href === "https://memearns.com/login") {
            document.getElementById('email').value = email;
            document.getElementById('password').value = senha;

            GyWr(GyCi);
        }
    });

    function GyWr(cb) {
        let GyIv = setInterval(() => {
            if (document.getElementsByClassName('g-recaptcha').length !== 0 && window.grecaptcha.getResponse().length !== 0) {
                clearInterval(GyIv);
                cb();
            }
        }, 1000);
    }

    function GyCi() {
        let GySb = document.querySelector('button.btn-submit.w-100[type="submit"]');
        if (GySb) {
            GySb.click();
        }
    }

    function GyVh() {
        var iframe = document.querySelector('.h-captcha iframe[data-hcaptcha-response]');
        if (iframe) {
            var response = iframe.getAttribute('data-hcaptcha-response');
            return response && response.trim() !== '';
        }
        return false;
    }

    function GyVa() {
        const GyAb = document.getElementById('antibotlinks');
        if (GyAb) {
            const GyAbv = GyAb.value.replace(/\s/g, '');
            return GyAbv.length === 12;
        }
        return false;
    }

    function GyCl() {
        setTimeout(() => {
            if (GyVh() && GyVa()) {
                let GyCb = document.querySelector('button.btn.solid_btn.btn-lg.text-white.claim-button');
                if (GyCb) {
                    GyCb.click();
                    if (window.location.href.includes("/faucet")) {
                        setTimeout(() => {
                            location.reload();
                        }, 150000);
                    } else if (window.location.href.includes("/notimer")) {
                        setTimeout(() => {
                            location.reload();
                        }, 60000);
                    }
                }
            }
        }, 5000);
    }

    function GyMn() {
        setInterval(() => {
            if ((window.location.href.includes("/faucet") || window.location.href.includes("/notimer")) && GyVh() && GyVa()) {
                GyCl();
            }
        }, 3000);
    }

    GyWr(GyCi);

    if (window.location.href.includes("/faucet") || window.location.href.includes("/notimer")) {
        setTimeout(GyMn, 5000);
    }
})();