NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Cursor Hover Force Fix
// @namespace hover.fix
// @version 1.0
// @description Attempts pointer refresh stabilization for WebView browsers
// @match *://*/*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
let lastX = 0;
let lastY = 0;
document.addEventListener("mousemove", function(e) {
lastX = e.clientX;
lastY = e.clientY;
});
setInterval(function() {
const evt = new MouseEvent("mousemove", {
bubbles: true,
cancelable: true,
clientX: lastX,
clientY: lastY
});
document.dispatchEvent(evt);
}, 60);
})();