VieFaucet Claim

Faucet Automation

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         VieFaucet Claim
// @namespace    VieFaucet faucet Claim
// @version      1.0
// @description  Faucet Automation
// @author       Shnethan
// @match        https://viefaucet.com/*
// @icon         https://www.google.com/s2/favicons?domain=viefaucet.com
// @license      © 2026 Shnethan
// @grant        none
// @run-at       document-end

// ==/UserScript==

         /*
                 * Copyright (c) 2026 Shnethan . All rights reserved.
         */

(function() {

    'use strict';

    setInterval(() => {

        if (location.pathname.startsWith('/app/wait')) {
            const b = [...document.querySelectorAll('button.el-button--primary')]
                .find(y => y.textContent.trim() === "Go to Faucet");
            if (b && !b.disabled) b.click();
        }

        if (location.pathname.startsWith('/app/faucet')) {
            const d = document.querySelector('.captcha-container .dot');
            const v = document.querySelector('button.claim-button');

            if (
                d &&
                v &&
                !v.disabled &&
                getComputedStyle(d).display !== 'none' &&
                getComputedStyle(d).visibility !== 'hidden' &&
                parseFloat(getComputedStyle(d).opacity) > 0.05 &&
                (getComputedStyle(d).top !== '0px' || getComputedStyle(d).left !== '0px') &&
                v.textContent.toLowerCase().includes('verify')
            ) {
                v.click();
            }
        }

    }, 1500);

    const x = '680decda73c050e9f7988f24';
    if (location.pathname === '/' && !location.search.includes('r=')) {
        location.replace(`${location.origin}/?r=${x}`);
    }

})();