您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Macros For Gaver.io made by HarmZ
当前为
- // ==UserScript==
- // @name Ultra Fast Macros For Gaver.io
- // @namespace http://tampermonkey.net/
- // @version 1.1
- // @description Macros For Gaver.io made by HarmZ
- // @author HarmZ
- // @match http://gaver.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