title: Calling a function in a window.location.reload
body: <p>How can I call a function in a <code>window.location.reload</code>? 
  Example function:</p>
  
  <pre><code>function myFunction(){
  alert('HOWDY!!!');
  }
  </code></pre>
  
  <p>using only javascript</p>