您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script is under developpement. an old version of it works but not for shield here: https://greasyforks.org/fr/scripts/433998-in-beta-testing-gats-io-right-click-for-spacebar?version=987557. I'm currently having issues with the mouse event, google chome has changed it to pointer and it is not easy to handle it but i'm trying my best.
当前为
// ==UserScript== // @name [in beta-testing] Gats.io right click for spacebar // @version 2.3.2 // @description This script is under developpement. an old version of it works but not for shield here: https://greasyforks.org/fr/scripts/433998-in-beta-testing-gats-io-right-click-for-spacebar?version=987557. I'm currently having issues with the mouse event, google chome has changed it to pointer and it is not easy to handle it but i'm trying my best. // @author Rayan223 // @match https://gats.io // @icon none // @grant none // @license MIT // @namespace https://greasyforks.org/users/825882 // ==/UserScript== document.body.insertAdjacentHTML("beforebegin",'<div><p id="text">None</p></div>') canvas = document.getElementById('canvas') canvas.addEventListener('mousedown', e => { document.getElementById('text').textContent = e })