title: How can I remove the query string from the url after the page loads?
body: <p>I have a URL with a long query string attached to it.
  After the page loads, I do not require the query string. So I want to remove the query string from the address bar without a page reload.</p>
  
  <p>I tried <code>parent.location.hash = '';</code> and <code>window.location.href = '/#'</code></p>
  
  <p>They did not make a difference.</p>