aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Disabling Browser's 'BACK' button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disabling Browser Watch "Disabling Browser New topic

Disabling Browser's 'BACK' button

Vivek Puthiyonnan

Joined: Jan 26, 2005
Posts: 18
How can i disable the browser's 'BACK' button using script ?

Vivek P
Sri Ram
Ranch Hand

Joined: Oct 03, 2005
Posts: 118
Onload of that page,

Use this code.
But i would personally say that, disabling the back button in a browser is not a good design.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Disabling Browser's 'BACK' button
It's not a secret anymore!