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

disable hotkeys on luckyfish

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==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);
    }
};