Click to See Complete Forum and Search --> : How do you disable BACK button on the browser?


zonome
05-02-2003, 11:44 AM
Is there any way that one can disable the BACK button on the browser so that the users are forced to click on a button on the web page to go back?

pyro
05-02-2003, 11:57 AM
Not unless you open a new window and remove the toolbar...

zonome
05-02-2003, 12:04 PM
so the only way to disable the BACK button is t remove the toolbar?

AdamGundry
05-02-2003, 12:07 PM
Even without the toolbar the backspace key still works, unless you disable that too.

I believe the Javascript method location.replace() (http://developer.netscape.com/docs/manuals/communicator/jsref/wina1.htm#1013767) might be useful. It replaces the current page in the back list.

Adam

pyro
05-02-2003, 12:07 PM
Yes, and the only way that that can be done is to open a new window...