PDA

View Full Version : Cannot use the back key


Leinad
03-21-2003, 03:06 AM
Hi all JavaScript Guru,

Is there anyway I could stop people using the back key button?

I cannot use the meta tag to expire the page as they are using a proxy server, and I cannot start a popup that has the menu bar disabled. ... Any hints?

beetle
03-21-2003, 03:30 AM
Can't do it. Heck, what about back access with those Microsoft Explorer mice (http://www.microsoft.com/hardware/mouse/ie_info.asp) (in case you don't know, they have a thumb button that enacts 'back' when the browser is open) Even my keyboard (http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11358) has a back button for my web-browser.

A1ien51
03-21-2003, 06:13 AM
look at this, not sure if it will help

http://www10.brinkster.com/A1ien51/basics/backbutton.htm

A1ien51

brothercake
03-21-2003, 09:58 AM
Please please don't do it. The back button is there for the user's benefit, and messing with it is a big no-no.

Everything outside the document rendering space - the window, tools, buttons and navigation behavior - is nothing to do with you; you should not attempt any kind of control to override the user's settings.

If your application can't handle history navigation, then it's a problem in your application. Perhaps you could expound on specifically why you want to disable the back button.