In a web extension, I am trying to highlight and capture the element over which the mouse is currently hovering.
However, the mousemove event does not trigger in Safari when the mouse is over a disabled element.
This code will print the mousemove event details in Firefox and Chrome, but print nothing in Safari:
I've also tried putting the event listener on window instead with the same result :(
Related SO question https://stackoverflow.com/posts/65161714/edit
However, the mousemove event does not trigger in Safari when the mouse is over a disabled element.
This code will print the mousemove event details in Firefox and Chrome, but print nothing in Safari:
Code Block javascript document.addEventListener("mousemove", (event) => console.log(event));
I've also tried putting the event listener on window instead with the same result :(
Related SO question https://stackoverflow.com/posts/65161714/edit