View Full Version : back button

Albert M
Jun 17th, 2002, 10:56 AM

I need the script to control the back button of the internet explorer, help me !!

Jun 17th, 2002, 12:10 PM
well, what do you want to do with it? do you want it to stop working, do you want it to flash blue & gold, what?

Albert M
Jun 17th, 2002, 12:17 PM
just control the event, it's a forbidden action

Jun 17th, 2002, 12:24 PM
so in other words, you want it to not work anymore.

the only way i can think of to do that, is to make it so that every link on your pages uses window.location.replace(new_url); that makes it so that the current entry in browser history, is replaced with new_url, which also loads new_url in the current browser window. that means, you can't use the back button.

otherwise, as far as i know, there's no way to disable it.

Jun 17th, 2002, 02:32 PM
there is one other way... rewrite the browser. Just a note from a humble user - Don't try to lock users abilities to navigate it will tend to drive them away.:mad:

Albert M
Jun 17th, 2002, 03:32 PM
thank you for your help

Jun 18th, 2002, 05:58 AM
People get tired of me putting out this link for the back button!!