FAQ Topic - How can I disable the back button in a web browser?

F

FAQ server

-----------------------------------------------------------------------
FAQ Topic - How can I disable the back button in a web browser?
-----------------------------------------------------------------------

You can't. The browser's history cannot be modified. However, you
can use `` location.replace(url) '' in some browsers to replace
the current page in the history.

http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/replace.asp

http://docs.sun.com/source/816-6408-10/location.htm#1194240


===
Postings such as this are automatically sent once a day. Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement. The complete
comp.lang.javascript FAQ is at http://www.jibbering.com/faq/.
The FAQ workers are a group of volunteers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,592
Members
45,103
Latest member
VinaykumarnNevatia
Top