Are there ready-made Javascripts for checking keyboard and mouse activity?

I need Javascript that monitors keyboard and mouse events to keep track of how much time the user spends on the page. In particular, actively use the page by typing or moving / clicking with the mouse.

Thought I was going to ask if anyone knows of something that might work for me to save some time. Otherwise, Javascript and Aspirin here I come ... lol

0


source to share


2 answers


An example of recording mouse movement: http://pure.rednoize.com/movelogger/



+1


source


In theory, all DOM elements can respond to events like onClick, onMouseOver, onKeyPress, etc. From the entire page to every element. I would start like this using any JavaScript library you like.



0


source







All Articles