January 10, 2017 · JS Web One-liner

Tell mouse position in JavaScript one-liner

document.onmousemove = function(e) { document.title = "X: " + e.pageX + " - Y: " + e.pageY; };

http://stackoverflow.com/questions/12888584/is-there-a-way-to-tell-chrome-web-debugger-to-show-the-current-mouse-position-in