Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript history

Status
Not open for further replies.

rakesh76

Programmer
Feb 15, 2002
9
US

Dear Frinds

1) I want to remove history from browser using javascript how can i ?

2) I do not want ally any user to go back How can i ?

Rakesh
 
You cannot remove the history using standard client-side javascript. You can, however reduce the mobility of a user by using:

location.replace(someurl)

for all of your navigation. jared@eae.net -
 
If you did that to me, I would never visit your site. I think it's a rude thing to do. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Keep in mind that jaredn's suggestion, using location.replace(), works only on javascript-enabled browsers. This cuts out ten percent of all potential viewers (I'd rather leave than turn on JavaScript just for one site)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top