title: How know if the user does not do anything using jQuery and Javascript?
body: <p>I have a code that shows a notifications box when there has occurred a new earthquake in the world. 
  I want <strong>reduce at an icon</strong> if the user, for 20 seconds since the box appears, <strong>does not do anything</strong></p>
  
  <p>So if not <code>resize</code>,<code>scroll</code>,<code>click</code> and press button on keyboard.</p>
  
  <p>Is there a fast way to do this? 
  How can combine all these events?</p>
  
  <p>I hope can you suggest me something :)</p>