User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » how to disable backspace navigation in IE? Page [1]  
synapse
play so hard
60939 Posts
user info
edit post

seems like an easy fix, just can't find it.

Found this but no answers...
http://groups.google.com/group/microsoft.public.windows.inetexplorer.ie6.browser/browse_thread/thread/d402af014b6e138e/7d164cab57dab678%237d164cab57dab678

9/25/2006 1:18:30 AM

Ernie
All American
45943 Posts
user info
edit post

why would want to do this

9/25/2006 6:10:56 AM

Raige
All American
4386 Posts
user info
edit post

Only if he's making a poorly designed java applet. Making backspace not available makes people angry. Bad mojo.

But assuming that there's a good reason for it you can't disable backspace navigation unless you create a popup window. Even then they can right click and go back. IF you absolutely must do this then add to your code a redirect foward. Everytime they get to a page set a session variable to that page so when they go to page 5, the session variable is 5. Using that method you can redirect people to the next page if they try to go back.

Still, it's never a good idea to limit peoples navigation abilities. It's much better to write good code.

9/25/2006 7:58:53 AM

synapse
play so hard
60939 Posts
user info
edit post

this has nothing to do with webdesign...

its when youre filling out a form on a webpage, somehow lose focus from the text box, hit backspace and it takes you back to the last webpage. the backspace button is a keyboard shortcut for back navigation, i want to disable that.

9/25/2006 11:08:16 AM

OmarBadu
zidik
25071 Posts
user info
edit post

i think the solution is to be careful

9/25/2006 11:25:02 AM

Stein
All American
19842 Posts
user info
edit post

You could try to catch it using an onkeydown/press/etc in the body of the page. I'm not really sure if that works anymore though.

You could also write a function that would restore focus to an element if no input area has focus.

[Edited on September 25, 2006 at 11:41 AM. Reason : .]

9/25/2006 11:41:04 AM

Raige
All American
4386 Posts
user info
edit post

ah okay. I don't think you can do it, at least not for all browsers since that's up there with modifying the browser properties and I'm pretty sure they protect against that.

EDIT: Ah hold on a sec. I bet it has to due to a editor like FCKEditor and that kind of textbox? am I right? Got ya. Nope there's no known fix for that. That was a huge bane for me when working with XINHA

Since I switched to FCKEditor I haven't run into any situation where it does that on IE or Mozilla/Firefox.

[Edited on September 25, 2006 at 11:55 AM. Reason : !]

9/25/2006 11:53:07 AM

dFshadow
All American
9507 Posts
user info
edit post

he doesn't want to do this in design

he wants to do it for his own browser so his fat fingers don't browse away from a page he's entering info on

omar's suggestion of being more careful is the best. the 2nd best is to use a browser that'll save the inputs in cache so even if you do browse away you can stop and go forward real quick and have all the data still there.

and backspace is a universal windows keyboard shortcut for navigate back - i don't know if you can change it.

9/25/2006 12:34:18 PM

synapse
play so hard
60939 Posts
user info
edit post

yeah i thought this would make it clear
Quote :
"this has nothing to do with webdesign...

its when youre filling out a form on a webpage, somehow lose focus from the text box, hit backspace and it takes you back to the last webpage. the backspace button is a keyboard shortcut for back navigation, i want to disable that.
"


But yeah, I could try to be more careful...but I was thinking its just a registry key somewhere but I can't find it. And IE does normally save the inputs when I navigate back, still annoying tho.

9/25/2006 12:55:01 PM

gs7
All American
2354 Posts
user info
edit post

why use IE? from my experience, firefox will remember your text inputs even if you accidentally go back.

9/25/2006 12:56:21 PM

Aficionado
Suspended
22518 Posts
user info
edit post

because when you write shit for the masses, they will use IE

9/25/2006 12:57:55 PM

synapse
play so hard
60939 Posts
user info
edit post

^^

Quote :
"and IE does normally save the inputs when I navigate back, still annoying tho.
"


you know why i like IE, cause it works...every time. firefox is cool and whatnot, the plugins are badass. but it doesn't work 100% of the time since many people don't write their websites to work with non-ie browsers. so i use it as more of a toy than my daily driver.

9/25/2006 1:02:32 PM

synapse
play so hard
60939 Posts
user info
edit post

so should i give up hope?

9/26/2006 11:25:12 PM

gs7
All American
2354 Posts
user info
edit post

Quote :
"so should i give up hope?"

... as far as controlling the Back ability for everyone on a page, yes.

Quote :
"so i use it as more of a toy than my daily driver"

you know, i still don't get this comment. i use firefox daily, i haven't used IE intentionally in a couple years. more and more websites these days (with exception mostly to microsoft) have re-coded the their sites to work on firefox, which IS the most standard's compliant browser) ... also, i haven't had any recent stability issues with firefox, at all. but even if it did decide to crash, i have a session manager that remembers exactly where i was (including form input!) and it will have everything loaded nice and pretty after a crash. if i want to restart windows, it's no problem, i close firefox (again, it remembers what i have open), restart, open it back up and carry on.

there are just too many reasons to use firefox over IE, it's so much more than a toy. fwiw, i see IE as a mcdonald's happy meal toy; cheap and easy to break. the extensions in firefox only make it better and more productive, not to mention the upcoming 2.0 release, a couple of the most common/popular extensions found their way into the actual source code because it made -that- much sense to be part of a browser, so they made it just that, a new feature.

right well i'll stop there ... totally didn't mean to get into a "which is better" argument, however i'm not hitting backspace, to each their own, as always.

[Edited on September 27, 2006 at 12:02 AM. Reason : .]

9/27/2006 12:01:16 AM

synapse
play so hard
60939 Posts
user info
edit post

Quote :
"... as far as controlling the Back ability for everyone on a page, yes."


Quote :
"this has nothing to do with webdesign...

its when youre filling out a form on a webpage, somehow lose focus from the text box, hit backspace and it takes you back to the last webpage. the backspace button is a keyboard shortcut for back navigation, i want to disable that."

Quote :
"this has nothing to do with webdesign...

its when youre filling out a form on a webpage, somehow lose focus from the text box, hit backspace and it takes you back to the last webpage. the backspace button is a keyboard shortcut for back navigation, i want to disable that."


i guess reading comprehension is a little too much to hope for around here.

9/27/2006 12:10:52 AM

Stein
All American
19842 Posts
user info
edit post

If you want to be a smartass, we could just as easily point out that our solutions for your inability to properly use a keyboard aren't web design related solutions at all.

[Edited on September 27, 2006 at 12:48 AM. Reason : .]

9/27/2006 12:48:39 AM

gs7
All American
2354 Posts
user info
edit post

^^ it looks that way

here's a fix for firefox, for those who do use firefox...
http://extensionroom.mozdev.org/more-info/keyconfig

the only solution i'm still finding for internet explorer ... since it's not expandable and microsoft will not let you re-compile the source ... is to completely disable or remap the backspace key in windows...
by using a program:
http://www.klm.freeservers.com/
a different program:
http://webpages.charter.net/krumsick/
or doing it manually:
http://www.microsoft.com/whdc/device/input/w2kscan-map.mspx

there are various other programs you could pay for, but they do the same thing. regardless of your choice however, you still don't get to use your backspace key ... but now at least IE "works...every time", so that's good, right?

there, was that more helpful? didn't think so.

[Edited on September 27, 2006 at 1:02 AM. Reason : +1 caret]

9/27/2006 12:58:30 AM

synapse
play so hard
60939 Posts
user info
edit post

Quote :
" your inability to properly use a keyboard "


so you're a perfect typist then?

^ thanks for the info

9/27/2006 2:00:05 AM

1
All American
2599 Posts
user info
edit post

the key says backspace not backpage

9/27/2006 12:08:51 PM

Stein
All American
19842 Posts
user info
edit post

Quote :
"so you're a perfect typist then?"


Yes, sir.

9/27/2006 12:15:23 PM

Bakunin
Suspended
8558 Posts
user info
edit post

you can pop the backspace key off with a screwdriver

9/29/2006 10:18:15 PM

Smath74
All American
93278 Posts
user info
edit post

why would want to do this

9/29/2006 11:14:11 PM

pmcassel
All American
1553 Posts
user info
edit post

use google much past page 1?

"In the meantime since my last reply, I also found that the TweakUI powertoy
for Windows XP has a feature to redefine or disable some keys. In TweakUI,
navigate to the following node in the tree:

Explorer -> Command Keys
"

10/4/2006 3:32:10 PM

dFshadow
All American
9507 Posts
user info
edit post

Quote :
"use google much past page 1?"

i never do.

but then again, i have it set to 100 results on each page so...yeah. it means i need to rephrase my search lol

10/4/2006 4:07:00 PM

 Message Boards » Tech Talk » how to disable backspace navigation in IE? Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.