title: Isn't window.location.replace() supposed to disable the back button?
body: <p>I am working on a site where people need to be able to click a button to "escape" the page without logging the page in history.</p>
  
  <p>According to this <a href="https://developer.mozilla.org/en-US/docs/Web/API/Location/replace" rel="nofollow noreferrer">https://developer.mozilla.org/en-US/docs/Web/API/Location/replace</a>, window.location.replace() is supposed to disable the back button of the browser as well as not save the previous url in the history.</p>
  
  <p>This does not seem to be the case in Chrome or Edge. Is there any way to do this with Javascript?</p>