您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Fast Feeding Macro for Gaver.io (SelfFeed Mode)
当前为
// ==UserScript== // @name Gaver.io SelfFeed Macro W // @namespace http://xnel99x-hosting.tk/ // @version 0.1 // @description Fast Feeding Macro for Gaver.io (SelfFeed Mode) // @author NEL99 // @match *.gaver.io/* // @grant none // ==/UserScript== var feedInterval = null; var isEjecting = false; window.onkeydown$ = window.onkeydown; window.onkeyup$ = window.onkeyup; window.onkeydown = function(e){ if(e.key === 'w' && !isEjecting){ isEjecting = true; feedInterval = setInterval(() => { window.webSocket.send(new Uint8Array([21])); }, 1); } window.onkeydown$(e); }; window.onkeyup = function(e){ if(e.key === 'w' && isEjecting){ isEjecting = false; clearInterval(feedInterval); feedInterval = null; } window.onkeyup$(e); };