title: JavaScript - delete all get parameters from URL in address bar without reloading the page
body: <p>Is it possible to clear all GET parameters from the URL in the browsers address bar without initiating a page reload?</p>
  
  <p>I tried to remove all GET prematers and then fake a page reload and immediatelly interrupt it as a workaround, but this does not replace the URL.</p>
  
  <pre><code>window.location.href = window.location.href.replace(window.location.search,'');
  window.stop();
  document.execCommand('Stop');
  </code></pre>