您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A crosshair pointer for florr.io(this script is an altered version of mugi sus script so it works on florr.io)
// ==UserScript== // @name Florr.io crosshair pointer // @namespace http://tampermonkey.net/ // @version 1.0 // @description A crosshair pointer for florr.io(this script is an altered version of mugi sus script so it works on florr.io) // @author mint // @match https://florr.io/ // @grant none // ==/UserScript== 'use strict'; alert("This alert will pop up if the script is working.(you can get rid of this by deleting the alert line in the code)"); var cursorStyle = "crosshair"; var cursorRefresh = function() { document.getElementById("canvas").style.cursor = cursorStyle; }; window.onmouseup = function() { cursorStyle = "crosshair"; cursorRefresh(); }; window.onmousedown = function() { cursorStyle = "all-scroll"; cursorRefresh(); }; window.onmousemove = function() { if ( document.getElementById("canvas").style.cursor != cursorStyle ) { cursorStyle = "crosshair"; cursorRefresh(); } };