title: Auto Login with JavaScript
body: <p>Friends! Every morning when I start my internet, I have to open a page, which redirects me to a login screen and I login from there. Since the username/password values are prepopulated, I have to just hit the Login button.</p>
  
  <p>Now once in a day is ok but sometimes during the day, the connection just goes off and I am redirected to the Login page again. </p>
  
  <p>Can I automate this. THe Login button on the redirected page looks like this</p>
  
  <pre><code>&lt;input type="submit" name="Submit" id="btnSubmit" value="Login" onclick="return checking();" /&gt;
  </code></pre>
  
  <p>What I am looking for is the following</p>
  
  <ul>
  <li>A Page that will refresh itself every 5 minutes. If the url of the page starts with <a href="https://login.broadband.in" rel="nofollow">https://login.broadband.in</a> (that means the connection is off and redirection tool place), then call the javascript function  checking() so that it auto logs in.</li>
  </ul>
  
  <p>Is this possible?</p>