Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: How to disable Back Browser Boton


Message #1 by "Ing. Esteban Torres Naranjo" <esteban_torres@h...> on Tue, 17 Apr 2001 17:49:05 -0500
Maybe clear the history of the document as it loads.

Try the history object in JavaScript.    Maybe  history.back(0) or
history.go(0)

-----Original Message-----
From: Daniel O'Dorisio [mailto:dodorisio@h...]
Sent: Wednesday, April 18, 2001 5:53 AM
To: javascript
Subject: [javascript] Re: How to disable Back Browser Boton


why would you want to do this???? it kinda reminds me of the other guy that
wanted to redirect to a page when the user clicked the back button.... i
think the user should have complete control at all time...

but i guess you could onLoad open your page in a new window that didnt
include the tool bar... not fool proof, but it would keep most people from
clicking it.

Daniel

-----Original Message-----
From: Daniel Walker [mailto:danielw@w...]
Sent: Wednesday, April 18, 2001 10:27 AM
To: javascript
Subject: [javascript] Re: How to disable Back Browser Boton


Hi folks,
     As those of you who've been on this list for a while will know, there
are actually only about 4 ways of doing this; none of which are completely
cross-browser and entirely user-undefeatable. Greg Byrne of the P2P team is
working on a weekly article about this for teh P2P site
(http://p2p.wrox.com),
so hopefully we'll have a place to point people to
in future, when they coime to ask this question.

Daniel Walker
Wrox Press

> I need disable the Back boton the browser history, at onload document
> Thank you
> Esteban


  Return to Index