[Premium] Faucet Monitor with Faucetpay Rotator

Fully automated support for HCaptcha, ReCaptcha, and Antibot measures with a user-friendly interface on https://coinfinity.top/downloads.php for site management and settings. Updated weekly for optimal performance.

目前為 2024-02-14 提交的版本,檢視 最新版本

// ==UserScript==
// @name         [Premium] Faucet Monitor with Faucetpay Rotator
// @namespace    https://greasyfork.org/users/1162863
// @version      3.0.4
// @description  Fully automated support for HCaptcha, ReCaptcha, and Antibot measures with a user-friendly interface on https://coinfinity.top/downloads.php for site management and settings. Updated weekly for optimal performance.
// @author       Andrewblood
// @match        https://*.coinfinity.top/*
// @match        https://*.criptologico.com/*
// @match        https://*.solnetwork.fun/*
// @match        https://*.sollcrypto.com/*
// @match        https://*.cryptoclaps.com/*
// @match        https://*.baltoniearn.com/claim/tron/*
// @match        https://*.vptron.online/TRX/*
// @match        https://*.claimcoins.site/reward/*
// @match        https://*.bnbminers.site/earns/*
// @match        https://*.ltcmines.site/earns/*
// @match        https://*.tronxminer.com/rewards/*
// @match        https://*.etcoin.site/earn/*
// @match        https://*.autofaucet.dutchycorp.space/*
// @match        https://*.freebitco.in/*
// @match        https://*.rollercoin.com/*
// @match        https://*.freebitcoin.io/*
// @match        https://*.freebinancecoin.com/*
// @match        https://*.free-doge.com/*
// @match        https://*.freetether.com/*
// @match        https://*.freecardano.com/*
// @match        https://*.freedash.io/*
// @match        https://*.freeethereum.com/*
// @match        https://*.freebfg.com/*
// @match        https://*.freebittorrent.com/*
// @match        https://*.freepancake.com/*
// @match        https://*.freematic.com/*
// @match        https://*.freeshibainu.com/*
// @match        https://*.coinfaucet.io/*
// @match        https://*.freenem.com/*
// @match        https://*.freeusdcoin.com/*
// @match        https://*.free-tron.com/*
// @match        https://*.freesteam.io/*
// @match        https://*.freeneo.io/*
// @match        https://*.free-ltc.com/*
// @match        https://*.freecryptom.com/*
// @icon         https://coinfinity.top/favicon.ico
// @grant        GM_addStyle
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_deleteValue
// @grant        window.close
// @antifeature  referral-link     Referral-Link is in this Script integrated.
// @antifeature  ads               Advertisment Button with usefull sites.
// @license      Copyright Andrewblood
// ==/UserScript==
/*
Experience the next level of Faucet claiming with unparalleled features:

- User Interface: You can use http://coinfinity.top for the interface/buttons for managing websites, installing requirements, saving Faucetpay email address, and handling stored URLs
- Requirements Integration: Provides extension and script recommendations with install buttons for enhanced functionality.
- HCaptcha/ReCaptcha/Antibot Handling: Intelligently tackles security challenges, ensuring a smooth claiming process.
- Advanced Automation: Seamlessly fills forms and clicks buttons on Faucetpay Faucet sites, reducing manual effort.
- Efficient Navigation: Automatically moves through supported Faucet URLs, preventing revisits site until next day if it is empty or dayli limit reached for strategic claiming.
- Error Handling: Reloads pages, ensuring up-to-date claiming and avoiding downtime.
*/
(function() {
    'use strict';

    GM_addStyle(`
    .overlay-button {
        position: fixed;
        bottom: 10px;
    }

    #advertisementButton {
        left: 10px;
    }

    #faucetMonitorButton {
        left: calc(50% - 70px); /* Adjusted position for the Faucet Monitor Button */
        transform: translateX(-50%);
    }

    #faucetpayRotatorButton {
        bottom: 10px;
        right: calc(50% - 150px); /* Adjusted position for the Rotator Button */
    }

    #settingsButton {
        right: 75px;
    }

    #aboutButton {
        right: 10px;
    }

    #overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    #overlay-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        padding: 20px;
        border-radius: 5px;
        max-height: 80%;
        overflow-y: auto; /* Enable vertical scrollbar */
    }
`);

    var urls = [
        { name: 'Freebitco.in - Claim/1000% BTC Bonus/WoF', url: 'https://freebitco.in' },
        { name: 'Dutchycorp - Claim/PTC', url: 'https://autofaucet.dutchycorp.space' },
        { name: 'Rollercoin - Marketplace buyer', url: 'https://rollercoin.com' },
        { name: 'CF Freebitcoin - Shortlinks/Promotions Bypass', url: 'https://app.freebitcoin.io' },
        { name: 'CF Freebinancecoin - Shortlinks/Promotions Bypass', url: 'https://app.freebinancecoin.com' },
        { name: 'CF Freedoge - Shortlinks/Promotions Bypass', url: 'https://app.free-doge.com' },
        { name: 'CF Freetether - Shortlinks/Promotions Bypass', url: 'https://app.freetether.com' },
        { name: 'CF Freecardano - Shortlinks/Promotions Bypass', url: 'https://app.freecardano.com' },
        { name: 'CF Freedash - Shortlinks/Promotions Bypass', url: 'https://app.freedash.io' },
        { name: 'CF Freeethereum - Shortlinks/Promotions Bypass', url: 'https://app.freeethereum.com' },
        { name: 'CF Freebfg - Shortlinks/Promotions Bypass', url: 'https://app.freebfg.com' },
        { name: 'CF Freebittorrent - Shortlinks/Promotions Bypass', url: 'https://app.freebittorrent.com' },
        { name: 'CF Freepancake - Shortlinks/Promotions Bypass', url: 'https://app.freepancake.com' },
        { name: 'CF Freematic - Shortlinks/Promotions Bypass', url: 'https://app.freematic.com' },
        { name: 'CF Freeshibainu - Shortlinks/Promotions Bypass', url: 'https://app.freeshibainu.com' },
        { name: 'CF Coinfaucet - Shortlinks/Promotions Bypass', url: 'https://app.coinfaucet.io' },
        { name: 'CF Freenem - Shortlinks/Promotions Bypass', url: 'https://app.freenem.com' },
        { name: 'CF Freeusdcoin - Shortlinks/Promotions Bypass', url: 'https://app.freeusdcoin.com' },
        { name: 'CF Free-tron - Shortlinks/Promotions Bypass', url: 'https://app.free-tron.com' },
        { name: 'CF Freesteam - Shortlinks/Promotions Bypass', url: 'https://app.freesteam.io' },
        { name: 'CF Freeneo - Shortlinks/Promotions Bypass', url: 'https://app.freeneo.io' },
        { name: 'CF Free-ltc - Shortlinks/Promotions Bypass', url: 'https://app.free-ltc.com' },
        { name: 'CF Freecryptom - Shortlinks/Promotions Bypass', url: 'https://app.freecryptom.com' }
    ];

    var faucetpayurls = [
        "https://baltoniearn.com/claim/tron/",
        "https://vptron.online/TRX/",
        "https://claimcoins.site/reward/tron/",
        "https://claimcoins.site/reward/doge/",
        "https://claimcoins.site/reward/litecoin/",
        "https://claimcoins.site/reward/binance/",
        "https://claimcoins.site/reward/ripple/",
        "https://claimcoins.site/reward/bitcoin/",
        "https://bnbminers.site/earns/tron/",
        "https://bnbminers.site/earns/litecoin/",
        "https://bnbminers.site/earns/feyorra/",
        "https://bnbminers.site/earns/binance/",
        "https://bnbminers.site/earns/ripple/",
        "https://bnbminers.site/earns/ethereum/",
        "https://bnbminers.site/earns/bitcoin/",
        "https://ltcmines.site/earns/tron/",
        "https://ltcmines.site/earns/doge/",
        "https://ltcmines.site/earns/litecoin/",
        "https://ltcmines.site/earns/binance/",
        "https://ltcmines.site/earns/ripple/",
        "https://ltcmines.site/earns/ethereum/",
        "https://ltcmines.site/earns/bitcoin/",
        "https://tronxminer.com/rewards/tron/",
        "https://tronxminer.com/rewards/doge/",
        "https://tronxminer.com/rewards/feyorra/",
        "https://tronxminer.com/rewards/binance/",
        "https://tronxminer.com/rewards/ripple/",
        "https://tronxminer.com/rewards/bitcoin/",
        "https://cryptoclaps.com/earn/dogecoin/",
        "https://cryptoclaps.com/earn/tron/",
        "https://cryptoclaps.com/earn/litecoin/",
        "https://cryptoclaps.com/earn/binance/",
        "https://cryptoclaps.com/earn/solana/",
        "https://cryptoclaps.com/earn/ethereum/",
        "https://cryptoclaps.com/earn/bch/",
        "https://cryptoclaps.com/earn/xrp/",
        "https://cryptoclaps.com/earn/dash/",
        "https://cryptoclaps.com/earn/polygon/",
        "https://cryptoclaps.com/earn/usdt/",
        "https://cryptoclaps.com/earn/zcash/",
        "https://etcoin.site/earn/tron/",
        "https://etcoin.site/earn/doge/",
        "https://etcoin.site/earn/litecoin/",
        "https://etcoin.site/earn/binance/",
        "https://etcoin.site/earn/ripple/",
        "https://etcoin.site/earn/ethereum/",
        "https://etcoin.site/earn/bitcoin/",
        "https://sollcrypto.com/home/page/bitcoin/",
        "https://sollcrypto.com/home/page/doge/",
        "https://sollcrypto.com/home/page/tron/",
        "https://sollcrypto.com/home/page/digibyte/",
        "https://sollcrypto.com/home/page/litecoin/",
        "https://sollcrypto.com/home/page/binance/",
        "https://sollcrypto.com/home/page/solana/",
        "https://sollcrypto.com/home/page/ethereum/",
        "https://sollcrypto.com/home/page/bch/",
        "https://sollcrypto.com/home/page/xrp/",
        "https://sollcrypto.com/home/page/dash/",
        "https://sollcrypto.com/home/page/zcash/",
    ];

    var storedUrls = GM_getValue('storedUrls', []) || [];

    // Function to create buttons with event listeners
    function createButton(id, text, content) {
        var button = document.createElement('button');
        button.id = id;
        button.className = 'overlay-button';
        button.innerHTML = text;
        button.addEventListener('click', function() {
            var overlay = document.getElementById('overlay');
            overlay.style.display = 'block';
            var overlayContent = document.getElementById('overlay-content');
            overlayContent.innerHTML = content;
        });
        document.body.appendChild(button);
    }

    // Create Advertisement button
    createButton('advertisementButton', 'Advertisement', '<h2>Advertisement</h2><p>Explore more earning opportunities from script developer on <a href="https://coinfinity.top/downloads.php" target="_blank">Coinfinity.top</a></p>');

    // Create Faucet Monitor button
    createButton('faucetMonitorButton', 'Faucet Monitor', '<h2>Faucet Monitor</h2><p>Faucet Monitor content goes here</p>');

    // Funktion zur Generierung und Anzeige der Tabelle im Overlay
    function showFaucetMonitorTable() {
        var tableContent = '<h2>Faucet Monitor</h2><table><tr><th>Connect</th><th>Name</th><th>Active</th></tr>';

        urls.forEach(function(item) {
            var isActive = GM_getValue(item.url, false);
            tableContent += '<tr><td><a href="' + item.url + '" target="_blank">Connect</a></td><td>' + item.name + '</td><td><input type="checkbox" id="active-' + item.url + '"' + (isActive ? ' checked' : '') + '></td></tr>';
        });

        tableContent += '</table>';

        var overlay = document.getElementById('overlay');
        overlay.style.display = 'block';
        var overlayContent = document.getElementById('overlay-content');
        overlayContent.innerHTML = tableContent;

        // Add event listeners to checkboxes to toggle activity status
        urls.forEach(function(item) {
            var checkbox = document.getElementById('active-' + item.url);
            checkbox.addEventListener('change', function() {
                GM_setValue(item.url, checkbox.checked);
            });
        });
    }

    // Fügen Sie einen Event-Listener für den "Faucet Monitor" Button hinzu
    document.getElementById('faucetMonitorButton').addEventListener('click', showFaucetMonitorTable);

    // Create Faucetpay Rotator button
    createButton('faucetpayRotatorButton', 'Faucetpay Rotator', '<h2>Faucetpay Rotator</h2><p>Faucetpay Rotator content goes here</p>');

    // Funktion zur Anzeige der Tabelle der Faucetpay-URLs im Overlay
    function showFaucetpayUrlsTable() {
        var tableContent = '<h2>Faucetpay Rotator</h2><table><tr><th>Connect</th><th>URL</th><th>Deactivated Until</th><th>Reason</th></tr>';

        // Iteriere über die faucetpayurls und füge jede URL zur Tabelle hinzu
        faucetpayurls.forEach(function(url) {
            var storedUrlInfo = storedUrls.find(function(storedUrl) {
                return storedUrl.url === url;
            });

            var connectLink = '<a href="' + url + '" target="_blank">Connect</a>';
            var time = 'N/A';
            var reason = 'N/A';

            if (storedUrlInfo && new Date(storedUrlInfo.timestamp) > new Date()) {
                time = storedUrlInfo.timestamp;
                reason = storedUrlInfo.reason;
            }

            tableContent += '<tr><td>' + connectLink + '</td><td>' + url + '</td><td>' + time + '</td><td>' + reason + '</td></tr>';
        });

        tableContent += '</table>';

        // Zeige das Overlay und füge den Tabelleninhalt hinzu
        var overlay = document.getElementById('overlay');
        overlay.style.display = 'block';
        var overlayContent = document.getElementById('overlay-content');
        overlayContent.innerHTML = tableContent;
    }

    // Füge einen Event-Listener für den "Faucetpay Rotator" Button hinzu
    document.getElementById('faucetpayRotatorButton').addEventListener('click', showFaucetpayUrlsTable);

    // Create Settings button
    createButton('settingsButton', 'Settings', `
        <h2>Settings</h2>
        <p>For full automation you need to install this additional scripts and save your Faucetpay Email</p>
        <ul>
            <li><b>HCaptcha + ReCaptcha:</b> NoCoding Data Scraper and CAPTCHA Solver - <a href="https://chromewebstore.google.com/search/minirpa.net" target="_blank">Install Here</a></li>
            <li><b>Antibot Words:</b> AB Links Solver - <a href="https://greasyfork.org/de/scripts/459453-ab-links-solver" target="_blank">Install Here</a></li>
        </ul>
        <label for="faucetpayEmail">Enter <a href="https://faucetpay.io/?r=2922788" target="_blank">Faucetpay</a> Email:</label>
        <input type="text" id="faucetpayEmail" placeholder="Enter your Faucetpay Email">
        <button onclick="saveFaucetpayEmail()">Save</button>
`);

    // Save Faucetpay Email function
    unsafeWindow.saveFaucetpayEmail = function () {
        var faucetpayEmail = document.getElementById('faucetpayEmail').value;
        GM_setValue('faucetpayEmail', faucetpayEmail);
        alert('Faucetpay Email saved successfully!');
    };

    // Create an event listener for the Settings button to input saved email
    document.getElementById('settingsButton').addEventListener('click', function() {
        // Retrieve Faucetpay Email and pre-fill the input field
        var savedFaucetpayEmail = GM_getValue('faucetpayEmail', '');
        var faucetpayEmailInput = document.getElementById('faucetpayEmail');
        if (savedFaucetpayEmail !== '' && faucetpayEmailInput !== null) {
            faucetpayEmailInput.value = savedFaucetpayEmail;
        }
    });

    // Create About button
    createButton('aboutButton', 'About', `
        <h2>About Faucet Monitor with Faucetpay Rotator</h2>
        <p>Faucet Monitor with Faucetpay Rotator is a sophisticated tool meticulously crafted to streamline faucet management and rotation processes for cryptocurrency enthusiasts.</p>
        <p>Key Features:</p>
        <ul>
            <li><b>Faucet Management:</b> Effortlessly manage and monitor multiple faucets and rotator sites from a unified interface.</li>
            <li><b>Rotator Functionality:</b> Access a curated list of Faucetpay rotator sites, enabling seamless rotation and utilization of various faucets.</li>
            <li><b>Customization:</b> Activate or deactivate specific faucets based on your preferences, offering unparalleled flexibility and control over your faucet experience.</li>
            <li><b>Requirements Overview:</b> Gain insights into optimal faucet usage requirements, including CAPTCHA solutions and antibot measures.</li>
            <li><b>Save Preferences:</b> Store your Faucetpay email address for seamless integration and management of faucet rewards.</li>
            <li><b>Advertisement Section:</b> Explore additional earning opportunities through featured advertisements and offers.</li>
            <li><b>About Section:</b> Learn more about the Faucet Monitor tool and its developer, Andrewblood, through the informative About section.</li>
        </ul>
        <p>Experience enhanced efficiency and convenience in your cryptocurrency faucet endeavors with Faucet Monitor with Faucetpay Rotator.</p>

        <h2>About the Scripts:</h2>
        <ul>
            <li><strong>Auto-Reload Script:</strong> This script periodically checks various URLs on specific websites to determine if certain conditions are met, such as having sufficient funds or reaching the daily claim limit. If conditions are met, it automatically reloads the page and saves the respective URLs and timestamps for later use.</li>
            <li><strong>Freebitco Script:</strong> This script automates certain actions on the Freebitco.in website, including rolling, checking for bonuses, and other tasks to earn reward points.</li>
            <li><strong>Dutchycorp Script:</strong> This script automates various actions on the Dutchycorp Autofaucet website, including rolling, checking captchas, and other tasks to earn rewards.</li>
            <li><strong>CFfaucets Script:</strong> This script automates redirection to various faucet websites and performs some actions to earn rewards.</li>
        </ul>
    `);

    // Close overlay when clicking outside of it
    window.addEventListener('click', function(event) {
        var overlay = document.getElementById('overlay');
        if (event.target == overlay) {
            overlay.style.display = 'none';
        }
    });

    // Create overlay
    var overlay = document.createElement('div');
    overlay.id = 'overlay';
    var overlayContent = document.createElement('div');
    overlayContent.id = 'overlay-content';
    overlay.appendChild(overlayContent);
    document.body.appendChild(overlay);



    var currentURL = new URL(window.location.href).origin;

    // Freebitco.in
    if (GM_getValue(currentURL) && window.location.href.includes("freebitco.in")) {
        function isCaptchaChecked() {
            return hcaptcha && hcaptcha.getResponse().length !== 0;
        }

        if(window.location.href.includes("https://freebitco.in/signup/?op=s")) {
            if(window.location.href != ("https://freebitco.in/signup/?op=s&r=3595810")) {
                window.location.replace("https://freebitco.in/signup/?op=s&r=3595810");
            }
        }

        if(window.location.href === ("https://freebitco.in/") || window.location.href === ("https://freebitco.in/?op=home") || window.location.href === ("https://freebitco.in/#")) {
            if (document.querySelector("#free_play_form_button").style.display == "none"){
                console.log("Wait for next Roll.");
                setTimeout(function() {
                    window.close();
                }, 1000*30);
            }
            else
            {
                if (document.querySelector("#free_wof_spins_msg") && document.querySelector("#free_wof_spins_msg").innerText.includes("You have")){
                    console.log("Make the WoF Spins.");
                    document.querySelector("#free_wof_spins_msg > a:nth-child(3)").click();
                }
                console.log("Let's look for Bonus");
                document.querySelector("body > div.large-12.fixed > div > nav > section > ul > li:nth-child(8) > a").click();
                document.querySelector("#rewards_tab > div.row.reward_category_container_main_div > div > div:nth-child(4) > div.reward_category_name").click();
                setTimeout(function() {
                    var yourrwp = parseFloat(document.querySelector("#rewards_tab > div:nth-child(2) > div > div.reward_table_box.br_0_0_5_5.user_reward_points.font_bold").innerText.replace(/,/, ''))
                    console.log("Your current Reward Points are:");
                    console.log(yourrwp);
                    var bonuscost = parseFloat(document.querySelector("#fp_bonus_rewards > div:nth-child(2) > div:nth-child(2) > div.large-6.small-12.columns > div").innerText.replace(/,/, ''))
                    console.log("The Price for 1000% BTC-Bonus is:");
                    console.log(bonuscost);
                    if (yourrwp > bonuscost){
                        document.querySelector("#fp_bonus_rewards > div:nth-child(2) > div:nth-child(2) > div:nth-child(3) > button").click();
                    }
                    else
                    {
                        console.log("Your balance is too low to buy.");
                    }
                    document.querySelector("#free_play_link_li > a").click();
                }, 1000*5);

                // Make the Roll
                setTimeout(function() {
                    if (document.querySelector("#anchor")){
                        console.log("Wait for Captcha and.....");

                        if (isCaptchaChecked()) {
                            document.querySelector("#free_play_form_button").click();
                            setTimeout(function() {
                                window.close();
                            }, 1000*30);
                        }
                    }
                    else
                    {
                        document.querySelector("#free_play_form_button").click();
                        setTimeout(function() {
                            window.close();
                        }, 1000*10);
                    }
                }, 1000*10);
            }
        }

        if (window.location.href.includes("https://freebitco.in/static/html/wof/wof-premium.html")) {
            setTimeout(function() {
                document.querySelector("#wofc-section > div > div.wofc-spins > p > button:nth-child(2)").click();
            }, 1000*10);
            setTimeout(function() {
                window.close();
            }, 1000*30);
        }
    }

    // Dutchycorp
    if (GM_getValue(currentURL) && window.location.href.includes("dutchycorp")) {
        function isCaptchaChecked() {
            return grecaptcha && grecaptcha.getResponse().length !== 0;
        }

        function visibleCheck(elm) {
            if (!elm.offsetHeight && !elm.offsetWidth) { return false; }
            if (getComputedStyle(elm).visibility === 'hidden') { return false; }
            return true;
        }

        if (window.location.href == "https://autofaucet.dutchycorp.space/signup.php") {
            if (window.location.href != "https://autofaucet.dutchycorp.space/signup.php?r=Andrewblood&s=Script") {
                window.location.replace("https://autofaucet.dutchycorp.space/signup.php?r=Andrewblood&s=Script");
            }
        }

        if (window.location.href.indexOf('login') === -1 && window.location.href.indexOf('register') === -1) {

            var isRecaptchaEnabled = GM_getValue('recaptchaStatus');

            if (isRecaptchaEnabled) {
                runScript();
            } else {
                if (window.location.href !== 'https://autofaucet.dutchycorp.space/account.php') {
                    window.location.href = 'https://autofaucet.dutchycorp.space/account.php';
                } else {
                    document.querySelector("#methods > form > font > form:nth-child(16) > div > input").click();
                    var selectElement = document.querySelector('select[name="captcha"]');

                    if (selectElement) {
                        var options = selectElement.options;
                        for (var i = 0; i < options.length; i++) {
                            if (options[i].value === '3') {
                                options[i].selected = true;
                                var event = new Event('change');
                                selectElement.dispatchEvent(event);
                                break;
                            }
                        }
                    }
                    var updateButton = document.querySelector('button[name="change-captcha"]');
                    updateButton.click();

                    GM_setValue('recaptchaStatus', 'enabled');
                }
            }

            function runScript() {
                setTimeout(function(){
                    location.reload();
                }, 180000);

                if (window.location.href.includes("https://autofaucet.dutchycorp.space/account.php")) {
                    window.location.replace("https://autofaucet.dutchycorp.space/dashboard.php");
                }

                if (window.location.href == "https://autofaucet.dutchycorp.space/dashboard.php") {
                    window.location.replace("https://autofaucet.dutchycorp.space/roll.php");
                }

                if (window.location.href.includes("https://autofaucet.dutchycorp.space/roll.php")) {
                    if (!document.querySelector("#timer")) {
                        setInterval(function() {
                            if (isCaptchaChecked()) {
                                if (document.querySelector(".boost-btn.unlockbutton")) {
                                    document.querySelector(".boost-btn.unlockbutton").click();
                                }
                                if (visibleCheck(document.querySelector("#claim_boosted"))) {
                                    document.querySelector("#claim_boosted").click();
                                }
                            }
                        }, 5000);
                    } else {
                        setTimeout(function() {
                            window.location.replace("https://autofaucet.dutchycorp.space/coin_roll.php");
                        }, 5000);
                    }
                }

                if (window.location.href.includes("https://autofaucet.dutchycorp.space/coin_roll.php")) {
                    if (!document.querySelector("#timer")) {
                        setInterval(function() {
                            if (isCaptchaChecked()) {
                                if (document.querySelector(".boost-btn.unlockbutton")) {
                                    document.querySelector(".boost-btn.unlockbutton").click();
                                }
                                if (visibleCheck(document.querySelector("#claim_boosted"))) {
                                    document.querySelector("#claim_boosted").click();
                                }
                            }
                        }, 5000);
                    } else {
                        setTimeout(function() {
                            window.location.replace("https://autofaucet.dutchycorp.space/ptc/wall.php");
                        }, 5000);
                    }
                }

                if (window.location.href.includes("https://autofaucet.dutchycorp.space/ptc/wall.php")) {
                    var wallLink = document.querySelectorAll(".col.s10.m6.l4 a[name='claim']");
                    if (wallLink.length >= 1) {
                        wallLink[0].style.backgroundColor = "red";
                        let match = wallLink[0].onmousedown.toString().match(/'href', '(.+)'/);
                        let hrefValue = match[1];
                        setTimeout(function() {
                            window.location.replace("https://autofaucet.dutchycorp.space" + hrefValue);
                        }, 5000);
                    } else {
                        setTimeout(function() {
                            window.location.replace("https://autofaucet.dutchycorp.space/ptc/");
                        }, 5000);
                    }
                }

                if (window.location.href.includes("https://autofaucet.dutchycorp.space/ptc/view")) {
                    setInterval(function() {
                        if (document.querySelector("#sec").innerText === 'Payout in  0 seconds') {
                            document.getElementsByClassName("g-recaptcha bordeaux-btn btn-small waves-effect waves-red")[0].click();
                            setTimeout(function() {
                                console.log("Wait for Captcha");
                            }, 30000);
                        } else {
                            console.log("Wait on timer.");
                        }
                    }, 5000);
                }

                if (window.location.href == "https://autofaucet.dutchycorp.space/ptc/") {
                    setInterval(function() {
                        if (document.querySelector("body > div.col.s12 > div.row > div.col.s12.m12.l10 > center:nth-child(1) > h4")) {
                            if (document.querySelector("body > div.col.s12 > div.row > div.col.s12.m12.l10 > center:nth-child(1) > h4").innerText == ' All Available Ads Watched') {
                                window.close();
                            }
                        } else if (visibleCheck(document.getElementsByClassName("g-recaptcha gradient-btn btn-small waves-effect waves-purple")[0])) {
                            document.getElementsByClassName("g-recaptcha gradient-btn btn-small waves-effect waves-purple")[0].click();

                        } else {
                            console.log("Wait on timer.");
                        }
                    }, 5000);
                }
            }
        }
    }


    // CF Faucets
    if (GM_getValue(currentURL) && (window.location.href.includes("freebitcoin") ||
                                    window.location.href.includes("freebinancecoin") ||
                                    window.location.href.includes("free-doge") ||
                                    window.location.href.includes("freeusdcoin") ||
                                    window.location.href.includes("freecryptom") ||
                                    window.location.href.includes("free-ltc") ||
                                    window.location.href.includes("freedash") ||
                                    window.location.href.includes("freeneo") ||
                                    window.location.href.includes("freecardano") ||
                                    window.location.href.includes("freebfg") ||
                                    window.location.href.includes("freepancake") ||
                                    window.location.href.includes("freebittorrent") ||
                                    window.location.href.includes("coinfaucet") ||
                                    window.location.href.includes("freematic") ||
                                    window.location.href.includes("freetether") ||
                                    window.location.href.includes("freesteam") ||
                                    window.location.href.includes("freenem") ||
                                    window.location.href.includes("freeshibainu") ||
                                    window.location.href.includes("free-tron") ||
                                    window.location.href.includes("freeethereum"))) {

        if(window.location.href == ("https://freebitcoin.io/")){
            if(window.location.href != ("https://freebitcoin.io/?ref=804096")){
                window.location.replace("https://freebitcoin.io/?ref=804096")
            }
        }
        if(window.location.href == ("https://freebinancecoin.com/")){
            if(window.location.href != ("https://freebinancecoin.com/?ref=418938")){
                window.location.replace("https://freebinancecoin.com/?ref=418938")
            }
        }
        if(window.location.href === ("https://free-doge.com/")){
            if(window.location.href !== ("https://free-doge.com/?ref=334834")){
                window.location.replace("https://free-doge.com/?ref=334834")
            }
        }
        if(window.location.href == ("https://freeusdcoin.com/")){
            if(window.location.href != ("https://freeusdcoin.com/?ref=237334")){
                window.location.replace("https://freeusdcoin.com/?ref=237334")
            }
        }
        if(window.location.href == ("https://freecryptom.com/")){
            if(window.location.href != ("https://freecryptom.com/?ref=145077")){
                window.location.replace("https://freecryptom.com/?ref=145077")
            }
        }
        if(window.location.href == ("https://free-ltc.com/")){
            if(window.location.href != ("https://free-ltc.com/?ref=278353")){
                window.location.replace("https://free-ltc.com/?ref=278353")
            }
        }
        if(window.location.href == ("https://freedash.io/")){
            if(window.location.href != ("https://freedash.io/?ref=241665")){
                window.location.replace("https://freedash.io/?ref=241665")
            }
        }
        if(window.location.href == ("https://freeneo.io/")){
            if(window.location.href != ("https://freeneo.io/?ref=172683")){
                window.location.replace("https://freeneo.io/?ref=172683")
            }
        }
        if(window.location.href == ("https://freecardano.com/")){
            if(window.location.href != ("https://freecardano.com/?ref=495783")){
                window.location.replace("https://freecardano.com/?ref=495783")
            }
        }
        if(window.location.href == ("https://freebfg.com/")){
            if(window.location.href != ("https://freebfg.com/?ref=34816")){
                window.location.replace("https://freebfg.com/?ref=34816")
            }
        }
        if(window.location.href == ("https://freepancake.com/")){
            if(window.location.href != ("https://freepancake.com/?ref=63758")){
                window.location.replace("https://freepancake.com/?ref=63758")
            }
        }
        if(window.location.href == ("https://freebittorrent.com/")){
            if(window.location.href != ("https://freebittorrent.com/?ref=33463")){
                window.location.replace("https://freebittorrent.com/?ref=33463")
            }
        }
        if(window.location.href == ("https://coinfaucet.io/")){
            if(window.location.href != ("https://coinfaucet.io/?ref=966105")){
                window.location.replace("https://coinfaucet.io/?ref=966105")
            }
        }
        if(window.location.href == ("https://freematic.com/")){
            if(window.location.href != ("https://freematic.com/?ref=102515")){
                window.location.replace("https://freematic.com/?ref=102515")
            }
        }
        if(window.location.href == ("https://freetether.com/")){
            if(window.location.href != ("https://freetether.com/?ref=353801")){
                window.location.replace("https://freetether.com/?ref=353801")
            }
        }
        if(window.location.href == ("https://freesteam.io/")){
            if(window.location.href != ("https://freesteam.io/?ref=190554")){
                window.location.replace("https://freesteam.io/?ref=190554")
            }
        }
        if(window.location.href == ("https://freenem.com/")){
            if(window.location.href != ("https://freenem.com/?ref=367461")){
                window.location.replace("https://freenem.com/?ref=367461")
            }
        }
        if(window.location.href == ("https://freeshibainu.com/")){
            if(window.location.href != ("https://freeshibainu.com/?ref=206136")){
                window.location.replace("https://freeshibainu.com/?ref=206136")
            }
        }
        if(window.location.href == ("https://free-tron.com/")){
            if(window.location.href != ("https://free-tron.com/?ref=526291")){
                window.location.replace("https://free-tron.com/?ref=526291")
            }
        }
        if(window.location.href == ("https://freeethereum.com/")){
            if(window.location.href != ("https://freeethereum.com/?ref=430971")){
                window.location.replace("https://freeethereum.com/?ref=430971")
            }
        }

        setInterval(function() {
            if (window.location.href.includes("free-rolls")) {
                setTimeout(function(){
                    window.location.replace("promotion/csw1td1eqp");
                }, 5000);
            }
        }, 1000);

        if (window.location.href.includes("csw1td1eqp")){
            setTimeout(function() {
                document.location.reload();
            }, 120000);
            setInterval(function(){
                if (document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-error.my-8 > div") || document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-success.my-8 > div"))
                {
                    window.location.replace("q5rlm6ot3r")
                }
                else
                {
                    console.log("Captcha is not solved yet, next check in 3 seconds.");
                }
            }, 3000)
        }

        if (window.location.href.includes("q5rlm6ot3r")){
            setTimeout(function() {
                document.location.reload();
            }, 120000);
            setInterval(function(){
                if (document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-error.my-8 > div") || document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-success.my-8 > div"))
                {
                    window.location.replace("ki2r0jq5r0")
                }
                else
                {
                    console.log("Captcha is not solved yet, next check in 3 seconds.");
                }
            }, 3000)
        }

        if (window.location.href.includes("ki2r0jq5r0")){
            setTimeout(function() {
                document.location.reload();
            }, 120000);
            setInterval(function(){
                if (document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-error.my-8 > div") || document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-success.my-8 > div"))
                {
                    window.location.replace("n6kr3x7p5u")
                }
                else
                {
                    console.log("Captcha is not solved yet, next check in 3 seconds.");
                }
            }, 3000)
        }

        if (window.location.href.includes("n6kr3x7p5u")){
            setTimeout(function() {
                document.location.reload();
            }, 120000);
            setInterval(function(){
                if (document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-error.my-8 > div") || document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-success.my-8 > div"))
                {
                    window.location.replace("5g57e0vksm")
                }
                else
                {
                    console.log("Captcha is not solved yet, next check in 3 seconds.");
                }
            }, 3000)
        }

        if (window.location.href.includes("5g57e0vksm")){
            setTimeout(function() {
                document.location.reload();
            }, 120000);
            setInterval(function(){
                if (document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-error.my-8 > div") || document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-success.my-8 > div"))
                {
                    window.close()
                }
                else
                {
                    console.log("Captcha is not solved yet, next check in 3 seconds.");
                }
            }, 3000)
        }
    }

    // Rollercoin
    if (GM_getValue(currentURL) && window.location.href.includes("rollercoin")) {
        GM_addStyle(`
.overlay-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 300px;
    height: 200px; /* Erhöhen Sie die Höhe, um Platz für das Eingabefeld zu schaffen */
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    max-height: 120px; /* Setzen Sie die maximale Höhe des Dropdowns */
    overflow-y: auto; /* Fügen Sie Scrollbar hinzu, wenn Inhalt größer als die maximale Höhe ist */
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 5px;
    top: calc(100% + 10px); /* Positionieren Sie das Dropdown-Menü unterhalb des Buttons */
    left: 50%; /* Zentrieren Sie das Dropdown-Menü horizontal */
    transform: translateX(-50%); /* Zentrieren Sie das Dropdown-Menü horizontal */
}

.dropdown-content span {
    color: black;
    font-weight: bold;
    padding: 5px 10px;
    display: block;
}

.dropdown-content a {
    color: #0000EE; /* Blaue Schrift für die anderen Links */
    padding: 5px 10px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.price-input {
    margin-top: 10px;
    width: 80%; /* Passen Sie die Breite des Eingabefelds nach Bedarf an */
    padding: 5px;
    font-size: 14px;
}

.save-price-button {
    margin-top: 10px;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    background-color: #008CBA;
    color: white;
    border: none;
    border-radius: 5px;
}
`);

        // HTML für das Overlay und das Dropdown-Menü einfügen
        var overlayContainer = document.createElement('div');
        overlayContainer.className = 'overlay-container';

        var dropdownContainer = document.createElement('div');
        dropdownContainer.className = 'dropdown';

        var dropdownButton = document.createElement('button');
        dropdownButton.className = 'dropbtn';
        dropdownButton.textContent = 'Choose Product';

        var dropdownContent = document.createElement('div');
        dropdownContent.className = 'dropdown-content';
        dropdownContent.innerHTML = `
        <span>Miners</span>
        <a href="https://rollercoin.com/marketplace/buy/miner/61b9cce478d63d64cd626fe5">RollerArc S1</a>
        <a href="https://rollercoin.com/marketplace/buy/miner/646ddb26260e7d19c91846b8">RollerMiner G1</a>
    `;

        var priceInput = document.createElement('input');
        priceInput.className = 'price-input';
        priceInput.setAttribute('type', 'text');
        priceInput.setAttribute('placeholder', 'Enter price (RLT)');

        var savePriceButton = document.createElement('button');
        savePriceButton.className = 'save-price-button';
        savePriceButton.textContent = 'Save Buy Price';

        dropdownContainer.appendChild(dropdownButton);
        dropdownContainer.appendChild(dropdownContent);
        overlayContainer.appendChild(dropdownContainer);
        overlayContainer.appendChild(priceInput); // Fügen Sie das Eingabefeld hinzu
        overlayContainer.appendChild(savePriceButton); // Fügen Sie den "Save Price" Button hinzu
        document.body.appendChild(overlayContainer);

        // Laden Sie den gespeicherten Preis, falls vorhanden
        var savedPrice = GM_getValue(window.location.href);
        if (savedPrice) {
            priceInput.value = savedPrice;
        }

        // Dropdown-Menü anzeigen/verstecken beim Klick auf den Button
        dropdownButton.addEventListener('click', function() {
            dropdownContent.style.display = dropdownContent.style.display === 'block' ? 'none' : 'block';
        });

        // Event Listener für das Klicken auf den "Save Price" Button
        savePriceButton.addEventListener('click', function() {
            var priceValue = priceInput.value.trim();
            GM_setValue(window.location.href, priceValue); // Speichern Sie den Preis mit GM_setValue
            alert('Price saved successfully!');
        });

        if (window.location.href == ("https://rollercoin.com/")){
            window.location.replace("https://rollercoin.com/?r=llfv26zk");
        }

        if (window.location.href.includes("https://rollercoin.com/sign-up")){
            if (window.location.href =! ("https://rollercoin.com/sign-up?r=llfv26zk")){
                window.location.replace("https://rollercoin.com/sign-up?r=llfv26zk");
            }
        }

        // Funktion, um den Preis zu überwachen und Aktionen auszuführen
        function monitorPrice() {
            var savedPrice = parseFloat(GM_getValue(window.location.href)); // Gespeicherter Preis
            if (savedPrice <= 0 || isNaN(savedPrice)) {
                console.error("Invalid or missing saved price.");
                return; // Wenn kein gültiger Preis gespeichert ist, beende die Funktion
            }

            console.log("Saved price:", savedPrice);

            setTimeout(function () {
                location.reload();
            }, 60000);

            var priceInterval = setInterval(function() {
                var itemPriceElement = document.querySelector(".item-price"); // Element, das den aktuellen Preis enthält
                if (itemPriceElement) {
                    var currentPriceText = itemPriceElement.innerText; // Aktueller Preis als Text
                    var currentPrice = parseFloat(currentPriceText.split(" ")[0]); // Extrahiere den Preis aus dem Text
                    console.log("Current price:", currentPrice);
                    if (!isNaN(currentPrice) && currentPrice > 0 && currentPrice < savedPrice) {
                        clearInterval(priceInterval); // Stoppe die Überwachung, wenn der Preis niedriger ist
                        console.log("Price is lower than the saved price. Buying...");

                        // Klicke auf den "Buy" Button
                        var buyButton = document.querySelector(".item-info-buy-wrapper.col-12.col-lg-4 > button > div");
                        if (buyButton) {
                            buyButton.click();
                            console.log("Clicked on the 'Buy' button.");

                            setTimeout(function() {
                                // Klicke auf den Bestätigungsbutton im Modal
                                var confirmButton = document.querySelector(".modal.fade.show > div > div > div > div > button.roller-button.default.cyan > div");
                                if (confirmButton) {
                                    confirmButton.click();
                                    console.log("Clicked on the confirmation button.");
                                    setTimeout(function () {
                                        location.reload();
                                    }, 5000);
                                } else {
                                    console.error("Confirmation button not found.");
                                }
                            }, 1000); // Warte 1 Sekunde, bevor du auf den Bestätigungsbutton klickst
                        } else {
                            console.error("Buy button not found.");
                        }
                    }
                } else {
                    console.error("Item price element not found.");
                }
            }, 1000); // Überwache den Preis alle 1 Sekunde
        }

        // Rufe die Funktion zum Überwachen des Preises auf
        monitorPrice();
    }



    var currentPageUrl = window.location.href

    if (faucetpayurls.includes(currentPageUrl) || window.location.href.includes("[email protected]")) {
        function isElementVisible(selector) {
            var element = document.querySelector(selector);
            return element && element.offsetWidth > 0 && element.offsetHeight > 0;
        }

        function clickButton(selector) {
            var button = document.querySelector(selector);
            if (button) {
                button.click();
            }
        }

        setTimeout(function () {
            location.reload();
        }, 120000);

        var indexOfRParameter = currentPageUrl.indexOf("?r=");
        if (indexOfRParameter !== -1) {
            currentPageUrl = currentPageUrl.substring(0, indexOfRParameter);
        }

        var selector1 = ".alert.alert-danger.fade.show";
        if (isElementVisible(selector1) && document.querySelector(selector1)?.innerText === ' The faucet does not have sufficient funds for this transaction.') {
            var reason1 = 'sufficient funds';
            var timestamp1 = new Date(new Date().getTime() + 24 * 60 * 60 * 1000).toISOString().slice(0, 19).replace('T', ' ');
            saveUrl(currentPageUrl, timestamp1, reason1);
        }

        var selector2 = ".alert.alert-danger.fade.show";
        if (isElementVisible(selector2) && document.querySelector(selector2)?.innerText === ' Your daily claim limit has been reached. Please come back in tomorrow.') {
            var reason2 = 'daily claim limit';
            var tomorrow = new Date();
            tomorrow.setDate(tomorrow.getDate() + 1);
            tomorrow.setHours(2, 0, 0, 0);
            var timestamp2 = tomorrow.toISOString().slice(0, 19).replace('T', ' ');
            saveUrl(currentPageUrl, timestamp2, reason2);
        }

        function saveUrl(url, timestamp, reason) {
            var urlWithTimestamp = { url: url, timestamp: timestamp, reason: reason };

            var existingUrlIndex = storedUrls.findIndex(function (storedUrl) {
                return storedUrl.url === url;
            });

            if (existingUrlIndex !== -1) {
                storedUrls[existingUrlIndex].timestamp = timestamp;
                storedUrls[existingUrlIndex].reason = reason;
            } else {
                storedUrls.push(urlWithTimestamp);
            }

            GM_setValue('storedUrls', storedUrls);
        }

        if ((isElementVisible(".alert.alert-success.fade.show") &&
             document.querySelector(".alert.alert-success.fade.show").innerText.includes('satoshi')) ||
            (isElementVisible(".alert.alert-danger.fade.show") &&
             document.querySelector(".alert.alert-danger.fade.show").innerText === ' The faucet does not have sufficient funds for this transaction.') ||
            (isElementVisible(".alert.alert-danger.fade.show") &&
             document.querySelector(".alert.alert-danger.fade.show").innerText === ' Session invalid, try again') ||
            (isElementVisible(".alert.alert-danger.fade.show") &&
             document.querySelector(".alert.alert-danger.fade.show").innerText.includes('wait')) ||
            (isElementVisible(".alert.alert-danger.fade.show") &&
             document.querySelector(".alert.alert-danger.fade.show").innerText === ' Your daily claim limit has been reached. Please come back in tomorrow.')) {
            function checkAndConnectNextUrl() {
                var currentUrl = window.location.href.includes('?r=') ? window.location.href.split('?r=')[0] : window.location.href;

                console.log("Current URL:", currentUrl);

                var currentIndex = faucetpayurls.indexOf(currentUrl);

                console.log("Current Index:", currentIndex);

                var validUrlFound = false;

                for (var i = currentIndex + 1; i < currentIndex + faucetpayurls.length; i++) {
                    var nextUrl = faucetpayurls[i % faucetpayurls.length];

                    console.log("Checking next URL:", nextUrl);

                    var storedUrlInfo = storedUrls.find(function (storedUrl) {
                        return storedUrl.url === nextUrl;
                    });

                    console.log("Stored URL Info:", storedUrlInfo);

                    if (!storedUrlInfo || new Date() > new Date(storedUrlInfo.timestamp)) {
                        console.log("Connecting to the next valid URL:", nextUrl);

                        window.location.href = nextUrl;

                        validUrlFound = true;

                        break;
                    }
                }

                if (!validUrlFound) {
                    alert("All sites are empty or daily limit reached. Please start the script tomorrow again. You can also change the Faucetpay E-Mail and set all a new time Active");
                }
            }

            checkAndConnectNextUrl();
        } else {
            var currentURL = window.location.href;
            var referralCode = '[email protected]';

            if (!currentURL.includes(referralCode)) {
                currentURL += referralCode;
                window.location.href = currentURL;
            } else {
                var faucetpayEmailInput = document.querySelector("#address");
                if (faucetpayEmailInput) {
                    var storedEmail = GM_getValue('faucetpayEmail', '');
                    faucetpayEmailInput.value = storedEmail;

                    var loginbutton = document.querySelectorAll('button[data-target="#captchaModal"]');
                    loginbutton[0].click();

                    if (document.querySelector("#captchaModal").innerText.includes('AntiBot links')) {
                        var intervalId = setInterval(function() {
                            var antibotLinksValue = document.querySelector("#antibotlinks").value.length;
                            var recaptchaResponseValue = document.querySelector("#g-recaptcha-response").value.length;

                            if (antibotLinksValue > 1 && recaptchaResponseValue > 1) {
                                clearInterval(intervalId);

                                clickButton("#login");
                            }
                        }, 1000);
                    } else {
                        var intervalId2 = setInterval(function() {
                            var recaptchaResponseValue = document.querySelector("#g-recaptcha-response").value.length;

                            if (recaptchaResponseValue > 1) {
                                clearInterval(intervalId2);

                                clickButton("#login");
                            }
                        }, 1000);
                    }
                }

            }
        }
    }


    if (window.location.href.includes("solnetwork")) {
        if (window.location.href === "https://solnetwork.fun/") {
            window.location.href = "https://solnetwork.fun/ref/52489";
        }
        if (window.location.href.includes("dashboard")) {
            if (document.querySelector("body > div.container-fluid.mt-5 > div > div.col-md-6.text-center > div:nth-child(1) > div > div:nth-child(2) > div").innerText.includes('sufficient funds')){
                function checkAndConnectNextUrl() {
                    var currentUrl = document.referrer;

                    console.log("Current URL:", currentUrl);

                    var currentIndex = faucetpayurls.indexOf(currentUrl);

                    console.log("Current Index:", currentIndex);

                    var validUrlFound = false;

                    for (var i = currentIndex + 1; i < currentIndex + faucetpayurls.length; i++) {
                        var nextUrl = faucetpayurls[i % faucetpayurls.length];

                        console.log("Checking next URL:", nextUrl);

                        var storedUrlInfo = storedUrls.find(function (storedUrl) {
                            return storedUrl.url === nextUrl;
                        });

                        console.log("Stored URL Info:", storedUrlInfo);

                        if (!storedUrlInfo || new Date() > new Date(storedUrlInfo.timestamp)) {
                            console.log("Connecting to the next valid URL:", nextUrl);

                            window.location.href = nextUrl;

                            validUrlFound = true;

                            break;
                        }
                    }

                    if (!validUrlFound) {
                        alert("All sites are empty or daily limit reached. Please start the script tomorrow again. You can also change the Faucetpay E-Mail and set all a new time Active");
                    }
                }

                checkAndConnectNextUrl();
            } else {
                window.location.href = "https://solnetwork.fun/faucet-sol"
            }

        }

        // Aktionen, wenn die URL "https://solnetwork.fun/faucet-sol" ist
        if (window.location.href.includes("https://solnetwork.fun/faucet-sol")) {
            // Klicken auf den ersten Button
            document.querySelector("body > div.container-fluid.mt-5 > div > div.col-md-6.text-center > div:nth-child(1) > div > div:nth-child(4) > div > table > tbody > tr:nth-child(3) > td > button").click();

            // Überprüfung und Klick für den zweiten Button und Turnstile
            var checkAndClick = setInterval(function() {
                // Überprüfen, ob der zweite Button sichtbar ist
                var secondButton = document.querySelector("#claimButton");
                var turnstile = document.querySelector('[name="cf-turnstile-response"]');

                if (secondButton && turnstile) {
                    // Wenn der zweite Button und der Turnstile sichtbar sind
                    // Überprüfen, ob der Turnstile-Wert größer als 1 ist
                    if (turnstile.value.length > 1) {
                        // Klicken auf den zweiten Button
                        secondButton.click();
                        clearInterval(checkAndClick); // Stoppen der Überprüfung
                    }
                } else {
                    // Wenn der zweite Button oder der Turnstile noch nicht sichtbar sind
                    // Wiederholen des Klicks auf den ersten Button
                    document.querySelector("body > div.container-fluid.mt-5 > div > div.col-md-6.text-center > div:nth-child(1) > div > div:nth-child(4) > div > table > tbody > tr:nth-child(3) > td > button").click();
                }
            }, 1000); // Überprüfung alle 1000 Millisekunden (1 Sekunde)
        }
    }

})();