wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes disable the browser back button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "disable the browser back button" Watch "disable the browser back button" New topic
Author

disable the browser back button

deva siva
Ranch Hand

Joined: Apr 29, 2005
Posts: 37
how can I disable the browser's "Back" button in a HTML page?
I do not want to create JavaScript window to avoid showing any toolbar,etc.
In regular HTML page, is there any way to disable the back button in the toolbar?
[ July 06, 2005: Message edited by: Bear Bibeault ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can not disable the back button.

Eric
moh sak
Ranch Hand

Joined: May 11, 2005
Posts: 78
hi deva,

as eric said there is no way to do that, i face this problem while building my graduation project, i found a solution that is to replace the currunt page by the new page this will avoid the user of having any history to back to.

i think this will help.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: disable the browser back button
 
Similar Threads
clearing history and disabling back and forward buttons
Disable 'Back' and 'Reload' buttons of Browser
How to disable Back button on Internet Explorer Toolbar
Question about back button in browser
launch window options