title: location.replace inconsistencies with url fragments
body: <p>I recently noticed that <code>location.replace</code> doesn't actually reload the page when there there is an url fragment (<code>#</code>) in both the current url and the target url:</p>
  
  <pre><code>// Assume the current url is /#url-fragment
  window.location.replace('/#my-new-url-fragment');
  // Doesn't reload the page.
  </code></pre>
  
  <p>I am looking for a reliable, cross-browser way (supporting IE8) to replace the current url without adding to history.</p>