title: Javascript hook on http-equiv="refresh"
body: <p>I'm using the following meta header in order to download a file when a page is opened:</p>
  
  <pre><code>&lt;meta http-equiv="refresh" content="3;URL=SomeFileName" /&gt;
  </code></pre>
  
  <p>Is there a way to make some javascript code run when the 3 seconds pass, i.e. just before the browser starts downloading SomeFileName?</p>