'el-switch' - autohotkey-disabler for luckyfish.io

disable hotkeys on luckyfish

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name        'el-switch' - autohotkey-disabler for luckyfish.io 
// @description  disable hotkeys on luckyfish
// @match        https://luckyfish.io/diceClassic
// @author       Rain_Bot | https://rainbot.ch
// @version      5.2rev7
// @license      Open Source
// @grant        none
// @run-at       document-start
// @namespace https://greasyfork.org/users/710212
// ==/UserScript==

//////////////////////////////////////////////////////////////
// --	☂\(._.\) made with ♥ in Switzerland ((/._.)/☂    -- //
////////////////////////////////////////////////////////////

window.onload = function loadpage() {
    if (document.readyState === 'complete') {
        console.log(document.readyState);
        setTimeout(function() {
            console.log('Open Hotkey Setup-Overlay');
            document.getElementsByClassName("left gameBar_li active")[1].click();
        }, 1234);
        setTimeout(function() {
            console.log('Hotkey Switch "triggered"');
            document.getElementsByClassName("el-switch")[4].click();
        }, 1234);
        setTimeout(function() {
            console.log('Hotkeys ==> "false"');
            document.getElementsByClassName("hotkeys_close iconfont commonAlert_close")[0].click();
            console.log('.');
            console.log('..');
            console.log('...');
            console.log('\nDONE!');
        }, 1234);
        setTimeout(function() {
            console.clear();
        }, 12345);
    }
};