title: Disable back button history on chrome didn't work
body: <p>I want to disable certain page in my apps website for security purpose by using this javascript code which is work fine in other browser:<br></p>
  
  <pre><code>history.pushState(null, null, location.href);
  window.onpopstate = function () {
      history.go(1);
  };
  </code></pre>
  
  <p><br>
  but unfortunately in chrome browser, this code is not activate unless user click on page or in developer tools of console, if you run any javascript there, for example like this: <br></p>
  
  <pre><code>console.log('test');
  </code></pre>
  
  <p><br>automatically the back button chrome browser is activated. I found out this issues already been discussed long time ago from this page:<br>
  <a href="https://support.google.com/chrome/thread/8721521?hl=en" rel="nofollow noreferrer" title="Chrome Communities">Google Chrome Help</a></p>