Is it possible to catch the mouse position outside the document?

I found that it is possible to get the mouse position in IE outside the document or even in the browser window using "window.onblur" or "window.onfocusout" or something like that.

Even in Firefox, it gives you negative mouse coordinates in the onmouseout event handler if you quickly release the mouse pointer from the viewport.

Is there anything else I can do in Firefox that comes close to the above IE behavior?

+3
source share
2 answers

Java-, . , java, .

+1

. , , Firefox. , .

0

Source: https://habr.com/ru/post/1732344/


All Articles