Autofaucet.org

Autologin

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Autofaucet.org
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Autologin
// @author       keno venas
// @match        https://autofaucet.org/*
// @match        https://fc-lc.xyz/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=autofaucet.org
// @grant        GM_xmlhttpRequest
// @grant        GM_setValue
// @grant        GM_getValue
// @license      MIT
// ==/UserScript==

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


    var username = "seuusuario";
    var password = "suasenha";

    function isCaptchaChecked() {
        return grecaptcha && grecaptcha.getResponse().length !== 0;
    }

    if (window.location.href === "https://autofaucet.org/") {
        window.location.replace("https://cuty.io/quFOzb");
    }

    if (window.location.href.includes("https://autofaucet.org/auth/signin")) {
        setInterval(function() {
            if (document.querySelector("#l-form-username")) {
                document.querySelector("#l-form-username").value = username;
            }
            if (document.querySelector("#l-form-password")) {
                document.querySelector("#l-form-password").value = password;
            }

            if (isCaptchaChecked()) {
                if (document.querySelector(".btn.btn-primary.button")) {
                    document.querySelector(".btn.btn-primary.button").click();
                }
            }
        }, 5000);
    }

    if (window.location.href === "https://autofaucet.org/dashboard") {
        window.location.replace("https://cuty.io/8eryG9");
    }

    document.addEventListener('DOMContentLoaded', function() {
        setInterval(() => {
            const rows = document.querySelectorAll('.item');
            const rowsToRemove = Array.from(rows).filter(row => {
                const searchText = [
                    'Clks',
                    'Rsshort',
                    'Earnow',
                    'Adlink',
                    'Shortyfi',
                    'CryptoShorty',
                    'Megaurl',
                    'Megafly',
                    'Shortox',
                ];
                return searchText.some(text => row.textContent.includes(text));
            });
            rowsToRemove.forEach(row => {
                row.remove();
            });

        }, 0);
    });
    var clickInterval = 120000;
    var buttonSelectors = [
        'button[class="btn btn-success visit-button"]'
    ];
    function doDelayedClick(elementSelector, delay) {
        var element = document.querySelector(elementSelector);
        if (element) {
            setTimeout(function() {
                element.click();
            }, delay);
            return true;
        }
        return false;
    }
    function runAutoClicker(index) {
        if (index >= buttonSelectors.length) {
            console.log("Não há mais botões disponíveis para clicar.");
            return;
        }
        var currentButtonSelector = buttonSelectors[index];
        setTimeout(function() {
            if (doDelayedClick(currentButtonSelector, 0)) {
                setTimeout(function() {
                    runAutoClicker(index + 1);
                }, clickInterval);
            } else {
                console.log("Botão não encontrado para o seletor: " + currentButtonSelector);
                runAutoClicker(index + 1);
            }
        }, 5000);
    }
    if (window.location.href.includes('https://autofaucet.org/dashboard/shortlinks')) {
        runAutoClicker(0);
    }
})();