Wednesday, July 5, 2017

How to disable browser back behavior with javascript

in certain scenario, we might want to disable the browser back behavior.
in an ajax application, the application screens changed, but the browser url remains unchanged.
if the user click on the browser back button now
the application is navigate away from what the user doing,
where the user simply wants to navigate to the previous screen.
thus, disable the browser back behavior is very important here.


Related Posts Plugin for WordPress, Blogger...