Automatic Tree

Automatic Tree Claiming

目前為 2023-12-17 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Automatic Tree
// @namespace    Terminator.Scripts
// @version      0.4
// @description  Automatic Tree Claiming
// @author       TERMINATOR
// @license      MIT
// @match        https://knolix.com/*
// @match        https://ads.knolix.com/int/*
// @match        https://scripts.cs2resellers.com/ads/?automatictree
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    if (window.location.href.startsWith("https://scripts.cs2resellers.com/ads/?automatictree")) {
        setTimeout(() => {
            window.location.href = "https://knolix.com/";
        }, 60000 * 10);
    } else if (window.location.href.startsWith("https://knolix.com/harvest.php?reward_token=")) {
        window.location.href = "https://scripts.cs2resellers.com/ads/?automatictree";
    } else if (window.location.href.startsWith("https://ads.knolix.com/int/")) {
        setInterval(() => {
            clickSkipButton();

            function clickSkipButton() {
                var skipButtonElement = document.querySelector('a#skip_bu2tton');
                if (skipButtonElement) {
                    skipButtonElement.click();
                    window.close();
                }
            }
        }, 60000 * 0.2);
    } else if (window.location.href.startsWith('https://knolix.com/')) {
        setInterval(() => {
            clickBtctree();

            function clickBtctree() {
                var btctreeElement = document.getElementById('btctree');
                if (btctreeElement) {
                    btctreeElement.click();
                }
            }
        }, 60000 * 0.1);
    }

})();
长期地址
遇到问题?请前往 GitHub 提 Issues。