To disable BackButton of browser window using Javascript

Possible duplicate:
Disable browser back button

Hi guys, I need to disable the browser window support. When I click on the stand I need to show one message using an alert or other means. Anyone can help me.

-1


source to share


3 answers


you cannot force the user to stay on your page, but you can give a yes / no prompt first.



read Is there a way to detect when the browser window is closed?

+5


source


The short answer is: don't.



There is something wrong with the design if you have to.

+4


source


I hate it when web pages do this. I would suggest another way to get closer to the usability of your page.

+2


source







All Articles