title: Removing current page from browser history
body: <p>I'm building a text editor in my website, the workflow is as follows.</p>
  
  <ol>
  <li>In <code>/list</code>, the user picks an entry they want to edit from a list which takes them to <code>/edit/[article_id]</code>.</li>
  <li>The user does their work, and then clicks submit.</li>
  <li>The server processes the thing, and redirects them back to <code>/edit/[article_id]</code> which by now reflects the edited work. The server also activates a flash message on the page to indicate the edit was successful.</li>
  </ol>
  
  <p>By this point, the user probably wants to go back to <code>/list</code> and clicks the browser's Back button. This will take them back to the editor repeatedly depending on how many times they submitted. </p>
  
  <p>I've tried putting a Back button somewhere on the page, but a good many users simply ignore it.</p>
  
  <p>I'd rather not make the submission posted via AJAX, since that would also affect the flash message system.</p>
  
  <p>What I like to do, is replace the last entry on the history list when the user submits, without changing its length. Is it possible?</p>