uhdmovies - Auto Bypass Timer and Click Start Verification

Automatically click "Start Verification" after the 10-second timer finishes or button appears

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name uhdmovies - Auto Bypass Timer and Click Start Verification
// @namespace http://tampermonkey.net/
// @author       Hasan-Abbas
// @version 0.1
// @description Automatically click "Start Verification" after the 10-second timer finishes or button appears
// @match https://*.unblockedgames.*/*
// @grant none
// ==/UserScript==

(function () {
    'use strict';

    function clickStartVerificationButton() {
        let startVerificationButton = document.querySelector('a[onclick="document.getElementById(\'landing\').submit();"]');
        if (startVerificationButton) {
            startVerificationButton.click();
        }
    }

    const observer = new MutationObserver((mutationsList, observer) => {
        for (const mutation of mutationsList) {
            if (mutation.type === 'childList') {
                const startVerificationButton = document.querySelector('a[onclick="document.getElementById(\'landing\').submit();"]');
                if (startVerificationButton) {
                    clickStartVerificationButton();
                    observer.disconnect();
                }
            }
        }
    });

    observer.observe(document.body, { childList: true, subtree: true });

    setTimeout(clickStartVerificationButton, 100);
})();


// ==UserScript==
// @name         Auto Bypass Timer and Click Buttons (For 3rd URL - tech.unblockedgames.world)
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Automates clicking buttons and handling delays between each step for 3rd URL
// @match        https://tech.unblockedgames.world/*
// @grant        none
// ==/UserScript==

(function () {
    'use strict';

    function clickVerifyButton() {
        let verifyButton = document.getElementById('verify_button2');
        if (verifyButton) {
            verifyButton.click();
        }
    }

    function clickContinueButton() {
        let continueButton = document.getElementById('verify_button');
        if (continueButton) {
            continueButton.click();
        }
    }

    function scrollToDownloadButton() {
        window.scrollTo(0, document.body.scrollHeight);
    }

    function clickDownloadButton() {
        let downloadButton = document.getElementById('two_steps_btn');
        if (downloadButton) {
            downloadButton.click();
        }
    }

    setTimeout(() => {
        clickVerifyButton();
    }, 20);


    setTimeout(() => {
    }, 7);


    setTimeout(() => {
        clickContinueButton();
    }, 10);


    setTimeout(() => {
        scrollToDownloadButton();
    }, 20);


    setTimeout(() => {
        clickDownloadButton();
    }, 4000);
})();