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

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

ของเมื่อวันที่ 19-10-2017 ดู เวอร์ชันล่าสุด

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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         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