I'm talking about whether I move a mouse at all without clicking. Can a website detect that and capture it? Is there a way in the console or using a program?
Also, is it possible to capture mouse movements server side?
I'm talking about whether I move a mouse at all without clicking. Can a website detect that and capture it? Is there a way in the console or using a program?
Also, is it possible to capture mouse movements server side?
You can detect and capture mouse move on clientSide and there is possibility to send that coordinates of mouse from client side to server side ie. every 10 ms.
$( "div" ).mousemove(function( event ) {
var pageCoords = "( " + event.pageX + ", " + event.pageY + " )";
var clientCoords = "( " + event.clientX + ", " + event.clientY + " )";
$( "span:first" ).text( "( event.pageX, event.pageY ) : " + pageCoords );
$( "span:last" ).text( "( event.clientX, event.clientY ) : " + clientCoords );
});
Working example Example on JSFiddler