Automatic Tree

Automatic Tree Claiming

Versión del día 15/12/2023. Echa un vistazo a la versión más reciente.

// ==UserScript==
// @name         Automatic Tree
// @namespace    Terminator.Scripts
// @version      0.2
// @description  Automatic Tree Claiming
// @author       TERMINATOR
// @license      MIT
// @match        https://knolix.com/*
// @match        https://ads.knolix.com/int/*
// @match        https://knolix.com/harvest.php?reward_token=*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

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

    function clickSkipButton() {
        var skipButtonElement = document.querySelector('a#skip_bu2tton');
        if (skipButtonElement) {
            skipButtonElement.click();
        }
    }

    if (window.location.href.startsWith('https://knolix.com/')) {
        setInterval(function() {
            clickBtctree();
        }, 60000 * 2);
    }

    setInterval(() => {
        if (window.location.href === `https://ads.knolix.com/int/*`) {
            clickSkipButton();
        } else {
            window.location.replace("https://knolix.com/");
        }
    }, 60000 * 2)

})();

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