LITEONION

Waits for 7 seconds, clicks "Claim Now" button, waits 6 seconds, and refreshes the page.

当前为 2025-06-23 提交的版本,查看 最新版本

// ==UserScript==
// @name         LITEONION
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Waits for 7 seconds, clicks "Claim Now" button, waits 6 seconds, and refreshes the page.
// @author       👽
// @match        https://liteonion.online/*
// @grant        none
// @license      Mit
// ==/UserScript==

(function() {
    'use strict';

    // Step 1: Wait for 7 seconds before clicking
    setTimeout(function() {
        // Find the "Claim Now" button by ID or class
        const claimButton = document.querySelector('#subbutt');

        // Step 2: If the button is found, simulate a click
        if (claimButton) {
            claimButton.click();
            console.log('Claim Now button clicked!');
        } else {
            console.log('Claim Now button not found.');
        }

        // Step 3: Wait for 6 seconds before refreshing the page
        setTimeout(function() {
            // Refresh the page once after 6 seconds
            location.reload();
            console.log('Page refreshed!');
        }, 6000); // Wait for 6 seconds before refreshing the page

    }, 7000); // Wait for 7 seconds before clicking the button

})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址