Discussion Locked

Disabling IE Buttons

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can I disable the Back & Forward buttons in the Internet Explorer using ASP or any other language

3 replies

by jay eckles

If you open the browser window using a window.open command and specify no toolbar, then there will be no back and forward (or any other tool) buttons. If you want to "gray out" the back and forward buttons, there's no way to do that with client-side scripting. You can do it if you want to write a customized version of IE in VB or VC++ using the InternetExplorer object and distribute your custom app to your users.

Here's a link to the MSDN Web Workshop that gives you the complete and authoritative documentation on client-side scripting for IE. I've been through it front to back, and I can guarantee you that you cannot disable the back and forward buttons with VB Script or Javascript. There are some coding tricks you can do that might make it hard for a user to use those buttons, but that's about the best you can do.

http://msdn.microsoft.com/library/default.asp?url=/workshop/entry.asp
(remember to remove spaces from URL)

This discussion is closed to new replies.