monitoring user's activities using jquery
<p>I am building an examination app, in which i need users to stay on the app and answer some questions. I need to monitor when they fail to do so, like opening a new tab or browser to search for answers. Also when they minimize the app window etc. So is there any way to do this in jquery. Please don't down vote this question as I have searched for similar question on this site for answers. </p>

<p>Something like when mouse does not hover over body element of the document.?</p>
