您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Now working ability to press the right click in order to use the spacebar. Now also works for shield!
当前为
// ==UserScript== // @name Gats.io right click for spacebar // @version 2.4 // @description Now working ability to press the right click in order to use the spacebar. Now also works for shield! // @author Rayan223 // @match https://gats.io // @icon none // @grant none // @license MIT // @namespace https://gf.qytechs.cn/users/825882 // ==/UserScript== function playing() { var menu = document.getElementById('slct'); if (menu.className == "container"){ return false }else{ return true } }; document.addEventListener('mousedown', e => { if(playing() && event.which == 3){ RF.list[0].socket.send('k,5,1'); } }); document.addEventListener('mouseup', e => { if(playing() && event.which == 3){ RF.list[0].socket.send('k,5,0'); } });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址