Ultra Fast Macros For Gaver.io, Gota.io & Bubla.io

Macros For Gaver.io and Bubla.io made by HarmZ

目前為 2017-10-19 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Ultra Fast Macros For Gaver.io, Gota.io & Bubla.io
// @namespace    http://tampermonkey.net/
// @version      1.2.2
// @description  Macros For Gaver.io and Bubla.io made by HarmZ
// @author       HarmZ
// @match        http://gaver.io/*
// @match        http://gota.io/*
// @match        http://bubla.io/*
// @run-at       document-end
// @grant        none
// ==/UserScript==

window.addEventListener('keydown', keydown);
window.addEventListener('keyup', keyup);

var EjectDown = false;

var speed = 9999999999999999999999999999999999999999999999999999999999999;

function keydown(event) {
    if (event.keyCode == 87 && EjectDown === false) { // here we put key (W)
        EjectDown = true;
        setTimeout(eject, speed);
    }
}
function keyup(event) {
    if (event.keyCode == 87) { // here put W (*2)
        EjectDown = false;
    }
}

function eject() {
    if (EjectDown) {
        window.onkeydown({keyCode: 87}); //here put W (*3)
        window.onkeyup({keyCode: 87});
        setTimeout(eject, speed);
    }
}
var welcome="Hey Bro,check out my YT Channel for new scripts, http://bit.ly/HarmZ";
alert(welcome);
//Made by HarmZ

QingJ © 2025

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