0

I have a website that has been entirely designed to operate without generating any browser history other then the main page. This was mostly for security so the browser state and the server never are out of sync.

I want to know if there is a way to intercept the browser "back" button when they are anywhere except on the main page of our site to operate an internal "back" button.

theshadow124
  • 661
  • 3
  • 8
  • 29

1 Answers1

0

You can use Push State Navigation to handle browser's back button. Take a look at this link https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history

Fabio
  • 11,892
  • 1
  • 25
  • 41
  • after working on this for some time, I am re-writing my site to work with get requests to allow back/forward. Thank you for your suggestion. – theshadow124 Aug 02 '15 at 23:13