title: Change the URL in the browser without loading the new page using JavaScript
body: <p>How would I have a <a href="http://en.wikipedia.org/wiki/JavaScript" rel="noreferrer">JavaScript</a> action that may have some effects on the current page but would also change the URL in the browser so if the user hits reload or bookmark, then the new URL is used?  </p>
  
  <p>It would also be nice if the back button would reload the original URL.</p>
  
  <p>I am trying to record JavaScript state in the URL.</p>