title: Disable browser back button for one page application
body: <p>I need to disable the back button of browser in my single page application.
  I tried using methods like <strong>onhashchange</strong> or <strong>window.history.forward</strong> but they don't work (reason may be that url doesn't get changed here)</p>