title: Prevent Refresh 'Jump' with Javascript
body: <p>I've noticed that if you are on a page and you have scrolled down a good bit, if you refresh the page, most browsers will jump you back down to your position. Is there any way to prevent this? </p>
  
  <p>I have looked at two options and neither are consistent across Webkit / Firefox.</p>
  
  <pre><code>    window.scrollTo(0, 1);
      $('html, body').animate({ scrollTop: 0 }, 0);
  </code></pre>
  
  <p>Any ideas? </p>
  
  <p>You can check a google search result for an example.</p>