Unlock Button (Weaboo)

Klik tombol "Unlock" otomatis setelah 10 detik

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         Unlock Button (Weaboo)
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  Klik tombol "Unlock" otomatis setelah 10 detik
// @author       weaboo
// @license      aanriski™ - ©weaboo
// @match        *://*/*
// @grant        GM_addStyle
// @run-at       document-start
// @grant        none
// ==/UserScript==

(function () {
    'use strict';

    function autoClickUnlock() {
        const btn = document.querySelector('button.btn.btn-primary.w-md');
        if (btn) {
            console.log('Tombol Unlock ditemukan! Menunggu 10 detik...');
            setTimeout(() => {
                console.log('Klik tombol Unlock sekarang!');
                btn.click();
            }, 10000); // 10000 ms = 10 detik
        } else {
            console.log('Tombol belum ditemukan, mencoba lagi...');
            setTimeout(autoClickUnlock, 1000); // ulang cek setiap 1 detik
        }
    }

    window.addEventListener('load', autoClickUnlock);
})();