title: How to refresh page if there is no user activity for few seconds using javascript
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10825263/how-to-alter-this-code-so-that-it-only-redirects-if-there-is-no-mouse-movement">How To Alter This Code So That It Only Redirects If There Is No Mouse Movement</a>  </p>
  </blockquote>
  
  
  
  <p>I want to refresh a web page if there is no activity by the user using Javascript. User activity as in Key Press or mouse click. </p>