V2p and Abdx Autoclaim

this script automaticaly click and claim continuesly v2p and adbx

2024/05/15のページです。最新版はこちら。

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
// ==UserScript==
// @name        V2p and Abdx Autoclaim 
// @namespace   auto.claim.faucet
// @description this script automaticaly click and claim continuesly v2p and adbx 
// @author      ono ngono
// @version     1.8
// @grant       unsafeWindow
// @grant       close.Window
// @grant       GM_getValue
// @grant       GM_setValue
// @grant       GM_addStyle
// @grant       GM_xmlhttpRequest
// @grant       window.onurlchange
// @grant       GM_registerMenuCommand
// @require     https://update.greasyfork.org/scripts/439099/1203718/MonkeyConfig%20Modern%20Reloaded.js
// @match       https://ad-doge.com/member/shortlinks/*
// @match       https://ad-doge.com/member/*
// @match       https://banfaucet.com/dashboard
// @match       https://banfaucet.com/links
// @match       https://go.aiimgvlog.fun/*
// @match       https://news.blog24.me/*
// @match       https://blog24.me/*
// @match       https://go.blog24.me/*
// @license     MIT
// ==/UserScript==
 
const cfg = new MonkeyConfig({
    title: 'V2p and Adbx Autoclick Settings:',
    menuCommand: true,
    params: {
        Announcements: {
            type: 'text',
            default: 'Pilih Satu Shortlink Kemudian Masukkan Angka Yang Sesuai',
            long: 3
        },
        Number: {
            label: "Masukkan Nomer",
            type: "text",
            default: ""
        },
        V2pBanana: {
            label: "V2pBanana",
            type: "checkbox",
            default: false
        },
        AdbxBanana: {
            label: "AdbxBanana",
            type: "checkbox",
            default: false
        },
        V2pAd_doge1: {
            label: "V2pAd_doge1",
            type: "checkbox",
            default: false
        },
        V2pAd_doge2: {
            label: "V2pAd_doge2",
            type: "checkbox",
            default: false
        }
    }
});
 
(function() {
    'use strict';
    
    // Retrieve the current values of the settings 
    const newV2pBananaValue = cfg.get('V2pBanana');
    const newAdbxBananaValue = cfg.get('AdbxBanana');
    const newV2pAd_doge1Value = cfg.get('V2pAd_doge1');
    const newV2pAd_doge2Value = cfg.get('V2pAd_doge2');
    const newNumberValue = cfg.get('Number');
    
    if (newV2pBananaValue) {
        const claimButton = document.querySelector('a.btn-one[href="https://banfaucet.com/links/go/34"]');
        if (claimButton) {
            claimButton.click();
        }
    }
    if (newAdbxBananaValue) {
        const claimButton = document.querySelector('a.btn-one[href="https://banfaucet.com/links/go/45"]');
        if (claimButton) {
            claimButton.click();
        }
    }
    if (newV2pAd_doge1Value) {
        const linkElement = document.querySelector('a[href*="ad-doge.com/member/link/1406"]');
        if (linkElement) {
            linkElement.click();
        }
    }
    if (newV2pAd_doge2Value) {
        const linkElement = document.querySelector('a[href*="ad-doge.com/member/link/1407"]');
        if (linkElement) {
            linkElement.click();
        }
    }
    
    // Automatically fill input elements with the specified value
    var inputElements = document.querySelectorAll('input[name^="antibot_number_"]');
    var allValues = [];
    inputElements.forEach(function(inputElement) {
        inputElement.value = newNumberValue;
        allValues.push(inputElement.value);
        inputElement.dispatchEvent(new Event('change'));
    });

    // Check if values in input elements match and simulate button click if they do
    if (allValues.length === 2 && allValues[0] === allValues[1]) {
        var nextButton = document.querySelector('button.custom-button[type="submit"]');
        if (nextButton) {
            nextButton.click();
        }
    }

    // Add delay before clicking next step button
    setTimeout(function() {
        var inputElement = document.querySelector('input[type="submit"][value="NEXT STEP"]');
        if (inputElement) {
            inputElement.click();
        }
    }, 29000);

    // Close the window after a certain delay based on specific conditions
    if (newV2pBananaValue) {
        setTimeout(function() {
            window.close();
        }, 37000); // 37 seconds
    } else if (newAdbxBananaValue) {
        setTimeout(function() {
            window.close();
        }, 9000); // 9 seconds
    }
})();