Created
May 5, 2023 09:58
-
-
Save yusufusta/a07f9e3e89fd9516f83a5198b12b124f to your computer and use it in GitHub Desktop.
A better Exxen experience.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Exxen++ | |
// @namespace Violentmonkey Scripts | |
// @match https://www.exxen.com/* | |
// @grant none | |
// @version 1.0 | |
// @author yusufusta.dev | |
// @description a better exxen experience | |
// ==/UserScript== | |
// mouse hider | |
(function() { | |
var mouseTimer = null, cursorVisible = true; | |
function disappearCursor() { | |
mouseTimer = null; | |
document.body.style.cursor = "none"; | |
cursorVisible = false; | |
} | |
document.onmousemove = function() { | |
if (mouseTimer) { | |
window.clearTimeout(mouseTimer); | |
} | |
if (!cursorVisible) { | |
document.body.style.cursor = "default"; | |
cursorVisible = true; | |
} | |
mouseTimer = window.setTimeout(disappearCursor, 5000); | |
}; | |
})(); | |
// anti antiblock | |
window.getComputedStyle = function () { | |
return { | |
getPropertyValue: function (display) { | |
return "block"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment