title: How to refresh or reload a page with timeout in javascript or jquery
body: <p>How can I refresh or reload a page with timeout in javascript or jquery only when </p>
  
  <ul>
  <li>a specific class is visible 
  or </li>
  <li>img is not found</li>
  </ul>
  
  <p>i found this <a href="https://stackoverflow.com/a/14787543/7051635">https://stackoverflow.com/a/14787543/7051635</a> but there is no timeout and when i'm in front of an omg not found, nothing happened.</p>