Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 37057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:29:27+00:00 2026-05-10T14:29:27+00:00

I need to disable specific keys (Ctrl and Backspace) in Internet Explorer 6. Is

  • 0

I need to disable specific keys (Ctrl and Backspace) in Internet Explorer 6. Is there a registry hack to do this. It has to be IE6. Thanks.

Long Edit:

@apandit: Whoops. I need to more specific about the backspace thing. When I say disable backspace, I mean disable the ability for Backspace to mimic the Back browser button. In IE, pressing Backspace when the focus is not in a text entry field is equivalent to pressing Back (browsing to the previous page).

As for the Ctrl key. There are some pages which have links which create new IE windows. I have the popup blocker turned on, which block this. But, Ctrl clicking result in the new window being launched.

This is for a kiosk application, which is currently a web based application. Clients do not have the funds at this time to make their site kiosk friendly. Things like URL filtering and disabling the URL entry field is already done.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:29:28+00:00Added an answer on May 10, 2026 at 2:29 pm

    For what purpose do you need this? Because disabling the backspace would be hell for typing urls or emails, etc.

    We could recommend other workarounds if we knew the problem better.

    EDIT 1:
    This website seems to have some information as to how it’s done. I can’t verify it currently, but I’ll look into it: http://www.ozzu.com/programming-forum/disable-key-and-back-t44867.html

    Edit 2:
    This website has some key codes: http://www.advscheduler.com/docs/manual/type_sendkeys.html It seems BACKSPACE is 08.

    EDIT 3:
    Found some more code for blocking, check this out:

      <script type='text/javascript'>var sType = 'keypress';</script>   <!--[if IE]>  <script type='text/javascript'>sType = 'keydown';</script>  <![endif]-->   <script type='text/javascript'>  fIntercept = function(e) {     // alert(e.keyCode);   e = e || event.e;    if (e.keyCode == 116) {     // When F5 is pressed     fCancel(e);    } else if (e.ctrlKey && (e.keyCode == 0 || e.keyCode == 82)) {     // When ctrl is pressed with R     fCancel(e);    }  };   fCancel = function(e) {    if (e.preventDefault) {     e.stopPropagation();     e.preventDefault();    } else {     e.keyCode = 0;     e.returnValue = false;     e.cancelBubble = true;    }    return false;  };   fAddEvent = function(obj, type, fn) {    if (obj.addEventListener) {     obj.addEventListener(type, fn, false);    } else {     obj['e'+type+fn] = fn;     obj[type+fn] = function() {      obj['e'+type+fn](window.event);     }     obj.attachEvent('on'+type, obj[type+fn]);    }  };    fAddEvent(document, sType, fIntercept);  </script>  

    Ok, now you should have all you need to do it. To disable backspace, the keycode is 08. You can probably just use the code I posted with slight modifications only… :\

    Try it out and see if it’s what you needed. (I hope you know how to use Javascript.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 96k
  • Answers 96k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I strongly recommend BOUML. Its Java reverse support is absolutely… May 11, 2026 at 7:14 pm
  • Editorial Team
    Editorial Team added an answer There are a several different tools out there, a couple… May 11, 2026 at 7:14 pm
  • Editorial Team
    Editorial Team added an answer JMS is Java Message Service. It is an API and… May 11, 2026 at 7:14 pm

Related Questions

Can this be done by setting a property? I'd prefer that approach then to
Google results on this one are a bit thin, but suggest that it is
Delphi has a $WARN compiler directive that allows one to selectively enable or disable
I have a CListCtrl with checkboxes. I want to be able to disable one

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.