Search code examples
javascripttry-catchbackhttp-request

Catch back() JavaScript


I'm creating a homepage. The content of the page is only get by HTTP-Request. So that the Client never change the page-url. How can I catch the back() function from the Browser to go one step back in my HTTP-Request. The automaticly creating of History of all loaded HTTP-Request is done, maybe I must catch this back() function.

Thanks for Help


Solution

  • Try using this: Browser Back Button Detection