It simply hides the mouse cursor when idle.
It also hides the mouse cursor immediately when the game starts, because otherwise the player would need to move the mouse at least once before the auto-hiding kicks in.
Note: The mouse cursor is only hidden when it is inside the game window. This is not a bug.
How to use
Just enable the plugin, that's it.
You can customize how long the mouse can remain idle before it is hidden. By default, the timeout is 3000 milliseconds (3 seconds).
If you don't care about the mouse at all and simply wish to keep it hidden at all times, you can just use the following one-liner.
JavaScript:
document.body.style.cursor = 'none';
复制代码
Simply paste it into a text file, change the file extension from
.txt
复制代码
to
.js
复制代码
, and you have your plugin.
Terms of use
The one-liner (above) has absolutely no Terms of Use. Do with it whatever you want.
For the full plugin, the MIT license applies. In short, as long as you preserve the copyright and license notice, you're free to do whatever you want with it