Disable back button of browser in Web application

Disable back button of browser in Web application

I have a Web application in which I want to disable the back button of browser, but I am unable to find solution for it. Is there any JavaScript for disabling the back button of the browser (IE and Netscape mainly)?

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.

    By submitting your registration information to SearchDomino.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchDomino.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

There is no way disable only the back button that I know of... You can disable the entire "toolbar" can contains the Back button as well as the other browser control buttons, by using the toolbar property of the window object in JavaScript, but I have found no way to disable individual objects within the toolbar. Sorry...

This was first published in February 2002