title: Auto Refresh a Page at Specific Time
body: <p>I am trying to add some code to a chrome extension, that will refresh a specific page at a certain time of the day. I've found coding that involves adding meta tags to the header, or tags to the body but I cant edit the page's html so this is not possible. This is the code I have of now but it doesnt seem to be working --</p>
  
  <pre><code>    //60000 milliseconds is 1 minute
  window.setInterval("checkForRefresh()", 60000);
  
  function checkForRefresh() {
     var now = new Date();
     if (now.getHours() == 14 &amp;&amp; now.getMinutes() == 24) {
        window.location.reload();
     }
  }
  </code></pre>
  
  <p>It seems to have worked a couple of times, but now it just stopped working. Not sure what went wrong.</p>
  
  <p>Any ideas on how to fix this? </p>