Disable Function Key F3 in Internet Explorer

I would like to disable function keys F1 and F3 while playing
my flash movie in internet explorer. I am using these keys within
Flash to do some actions.
I got the script working for Function Key F1 using the
following script
<script language="javascript">
document.onhelp = function() {return(false);}
window.onhelp = function() {return(false);}
</script>
But unable to make it to work for function key F3.
Thanks in advance,
Desmond

Hi des_shun, I have workaround for this issue.
First thing we have to do is disable keyboard event for F3 key on HTML document so that even if focus is on html document, default Search functionality will not popup. Next thing is, flash must contain KeyboardEvent listener for keyboard response. This is where we will keep our custom F3 functionality. This setting works well on Chrome & FireFox.
Now IE thing.
The prolem with IE is that if any one of F3, F5, F6,F7 & F11 key is pressed, when the focus is on flash movie it directly executes the default browser functions like searching, refreshing etc never allowing flash to execute its keyeventlistener. But if focus is on document body, then F3 and other keys work fine.
Here is the catch.
All we have to do is whenever focus is shifted to flash, we should revert that focus to document body.
Here is how we can do this.
Capture the MouseClick event in your flash movie. Then in this mouseclick event handler, call  javascript function to change focus to document again. Below is the sample code.
//Flash Code
stage.addEventListener(MouseEvent.CLICK,mClick);
function mClick(event:MouseEvent)
          ExternalInterface.call("changeFocus");
// Javascript Code
<script type="text/javascript"</script>
          function changeFocus()
                         document.body.focus();
    </script>
Thats it!

Similar Messages

  • Setup failed (Could not write value devenv.exe to key \SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BLOCK_CROSS_PROTOCOL_FILE_NAVIGATION)

    Hello, all,
    I encounter a really confused problem while installing Visual Studio 2013 Professional.
    It say Install cannot continue because some required components failed.
    And there is error information given by log file.
    [1868:0558][2015-04-18T00:55:46]i000: MUX:  ExecuteError: Package (vs_devenv) failed: Error Message Id: 1406 ErrorMessage: Could not write value devenv.exe to key \SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BLOCK_CROSS_PROTOCOL_FILE_NAVIGATION.
      Verify that you have sufficient access to that key, or contact your support personnel.
    [2058:2044][2015-04-18T00:55:47]e000: Error 0x80070643: Failed to install MSI package.
    [2058:2044][2015-04-18T00:55:47]e000: Error 0x80070643: Failed to execute MSI package.
    [1868:0558][2015-04-18T00:55:47]e000: Error 0x80070643: Failed to configure per-machine MSI package.
    Strange is that I cannot even find the key FEATURE_BLOCK_CROSS_PROTOCOL_FILE_NAVIGATION under
    FeatureControl.
    I have searched in Internet, but no one gives out a effective way to solve this problem.
    Could you help me!!! Thank you very much.

    Hello Forever_fzf,
    The problem is that Visual Studio is trying to write that key to your OS but failed. There are many possible reasons so it is hard to check it just from the above error info, I think you can take the following actions to test whether they can fix your problem:
    1. It is possible the the source(the installer) is corrupt on your OS. So our first step is to check the source. Please download the ISO format and verify its hash checksum sha-1 value by refer to the following page:
    https://www.visualstudio.com/en-us/downloads/visual-studio-2013-iso-sha1-vs
    2. If the source is alright, check that you are administrator and you have ran the setup as administrator. If you've already checked that and you still do not have privilege when install. We need to refer to the following blog:
    http://blogs.msdn.com/b/astebner/archive/2006/09/04/solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions.aspx
    It contains a script, the script will involve subinacl tool to give all registries the Admin privilege, then you will be able to write keys to that registries.
    3. The reigistry key HKLM\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BLOCK_CROSS_PROTOCOL_FILE_NAVIGATION sounds related to IE. May I also know your IE version?
    Best regards,
    Best regards, 
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to automatically disable Java Plug-in in Internet Explorer

    I was wondering if it was possible to automatically disable/enable the Java Plug-in in Internet Explorer 6 Advanced Options (using JavaScript or script code in the html page for instance)...
    Any clues????

    You can use a command line parameter when intalling the SUN plugin to automatically enable it for IE: IEXPLORER=1.
    I'm not sure how to supply command line parameters if you aren't running the instal from the command line though....
    --Steve P                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to disable function keys?

    Hello. I would like to disable the F1, F2,F3, and F4 function keys on my HP laptop.
    They open windows help and change my brightness.
    I would like them to not open shortcuts so I can use them for gaming.
    How do I do this? I've been reading plenty of threads on it but I still dont understand...Thanks!

    Hi there ,  Thank you for visiting the HP Support Forums and Welcome! This is a great site to get answers and ask questions. I read your post on the HP Support Forums. I understand that you would like to disable your Functions Keys on your Notebook.  Here is a document I found for your called HP Notebook PCs - Disable The Fn + Function Key Combination on Certain Models. 
    Please follow these provided troubleshooting steps, re-post and let me know if it worked. Thank you! Have a great day!

  • URGENT!! Disable functional keys (ex Maiusc+f4,Maiusc+f5,Ctrl-pgdwn)

    Hi
    I have a problem in my application because Form builder allow to use some special functional keys (press ctrl+f1 for menu). For example i can delete al the records in the form when i press MAISC+f5, or i can navigate from a block to onther block pressing ctrl-pgdown. How can i disable this functional keys in my application?
    PLZ HELP!!
    fulvio

    Thanks
    But i would like to know if ther's some function that allow me to diusable all the functional keys.
    Moreover if i use a trigger for each function the size of my application became to large.
    Fulvio

  • How to disable function key shortcuts in webgui

    hello,
    I want to disable shortcut keys like F3(back) in ITS webgui. however hiding menus in webgui, function keys are still working
    Thanks & regards
    Kishan Rana

    Hello Kishan,
    Thanks for posting the answer.
    Does the note
    1501768 ITS: Config. permitted or prohibited OK codes during start
    offer any additional help here? Will further restrict the behaviour of a transaction.
    Regards,
    Oisin

  • Disabling Function Keys in Select Applications

    Long ago in an OS far away, I knew how to disable the function keys so I could map them as I chose in my mappable apps. I know this was — at the time — a terminal command, but I just can't remember it. I would settle for knowing how to do that again, but what I would really like is the ability to either quickly turn on and off the Mac default uses for the function keys or, better yet, have it turn off in certain apps.
    I've tried the "Use all F1, F2, etc. keys as standard function keys," button in the Keyboard & Mouse System Settings, but I don't see where that has any sort of effect. The reference there to the 'fn' key makes me think it's only for laptops. Do I have to restart the app or the computer? Will that do what I'm looking for?
    Any help?
    Thanks,
    Martin

    I would settle for knowing how to do that again, but what I would really like is the ability to either quickly turn on and off the Mac default uses for the function keys or, better yet, have it turn off in certain apps.
    I've tried the "Use all F1, F2, etc. keys as standard function keys," button in the Keyboard & Mouse System Settings, but I don't see where that has any sort of effect.
    yes, it does have an effect. it lets you use F-keys as regular keys and map them to what you want.
    The reference there to the 'fn' key makes me think it's only for laptops.
    no, this is for any keyboard that has a fn key. if you have it on your keyboard then you get that checkbox in keyboard system preferences. if you don't have it the checkbox won't even show up. when the box is checked you have to hold fn to get the functionality of the F-keys written on them. otherwise they act as regular keys that can be mapped to whatever you want. you can do this in system preferences->keyboard&mouse->keyboard shortcuts.

  • Disabling function keys

    Hi friends,
    Is there any way to disable all the function keys in my forms 10g application?
    Regards
    Jeneesh

    Function keys allow also to suppress a record in a block (DELETE_RECORD) or to create a new one (INSERT_RECORD), or to change the current record (KEY-NXTREC, KEY-PRVREC) for example. If you deactive every function keys, the end user will not be able to change the current record with the keyboard.
    Francois

  • Export function not working in Internet Explorer

    so i've got a report displayed in IE, but when i go to export to any file format, IE opens a new tab and that's it. depending on certain settings (like adding the server to intranet zone), i can get the new tab to say nothing or "Blank Page".
    i've tried adding the server to the safe zones, i've played with some tabs settings, i enabled the "run active x" options...
    finally i reset all settings of IE to their defaults. i still can't figure out what i'm missing. if i copy the url to another browser the export works fine, as expected. on another machine i found this "rsclientprint 2008" addon so i downloaded
    that but i still got nothing.
    on a working machine, when i click the export button, a new tab opens with the name of the reporting server in it, it thinks a bit, then that tab closes and i get the "open or save" message in the original tab. on the one that's not working, it
    opens the new tab, DOESN'T show the server name and that's the end of it. so it seems like it can't connect to the server on the export function. (but report creation works just fine)
    anyone know of anything glaring that i'm missing??
    ~if this were /. this sig would be funny

    good call - i'll try that now.
    the app i had installed before was Classic Shell so that Windows Explorer's (win7) left hand pane doesn't jump around on you when you double click.
    i just completely uninstalled the application and rebooted. still nothing.
    going to do a repair while classic shell is uninstalled. brblol
    UPDATE:
    so i couldn't run the IE installer (per MS suggestions) because i have a newer version. so i tried the fixer that i found here:
    http://support2.microsoft.com/mats/ie_performance_and_safety
    and it found the following "errors":
    Issues found
    Data Execution Prevention disabled
    Detected
    Enable Data Execution Prevention
    Not Run
    Security settings
    Detected
    Reset Security settings
    Not Run
    Pop-Up Blocker disabled
    Detected
    Enable Pop-Up Blocker
    after fixing, the problem still exists!
    ~if this were /. this sig would be funny

  • Help disabling function keys

    I need help disabling my fn key, i game a lot and i like using my f keys without holding this down, and i cant access the BIOS menu by turning off laptop already tried that and tried turning off hybrid restart to access it and still didnt work, help please? 

    Hi
    Please find the link given below might help you in case you have already tried this step let me know.
    http://support.hp.com/us-en/document/c02035108
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • S440 - Disable Function Key Indicator Light

    S440 - Fn key swapped with Ctrl (set in bios) and function lock ON (now the Ctrl key + Esc).
    I really like it this way but that little yellow light on the Fn key is really annoying. Other than a bit of black electrical tape, is there anyway to kill that light? (while retaining function lock ON) 
    I'm looking for registry tweaks rather than physically removing and killing the light.

    I have a ThinkPad T440s, and have the FnLock function enabled but the indicator (in the Fn button) remains OFF. And when I turn the FnLock fuction OFF the indicator remains ON. I think it's suppose to work in the opposite way.
    Also hate the possition of the FN and Ctrl keys, it would be muco better if they are used the other way around as in most of the computers and keybords. Hope they can improve that. If any one knows how to change it I'd appreciate it.
    Thanks

  • Recently, some of the websites I use are not functioning nor looking properly. The way they first appear befoe I log on looks different . Simple things I used to do are not functioning properly. On Internet Explorer they look and function properly.

    Don't know what to say here.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Disabling the function keys in GUI status

    Hi Experts,
                    I want to disable/hide the function keys in the gui status based on some condition in a module pool.Please tell me how to achieve that.
    Regds
    Abbhishek

    Hi Abhishek,
    Please check the follwoing links to enable/disable function keys in module pool.
    [http://www.saptechies.com/pf-status/|http://www.saptechies.com/pf-status/]
    [http://www.sap-img.com/abap/common-used-of-dialog-screen-for-display-change-delete.htm|http://www.sap-img.com/abap/common-used-of-dialog-screen-for-display-change-delete.htm]
    [http://sapabap.iespana.es/sap/tips/dinamically_set_pfstatus.htm|http://sapabap.iespana.es/sap/tips/dinamically_set_pfstatus.htm]

  • How to configure to not open pdf files into Internet Explorer 10?

    I have disabled the adobe complements from Internet Explorer and the preferences of Adobe to don't show the pdf files in internet but it keep also doing it.
    How can configure the computer? I am using Internet Explorer 10, Adobe Acrobat 8.1 and Adobe Reader XI
    Thanks for your help

    Hi BG-Zic,
    Acrobat 8 and Reader 11 is not a recommended configuration to install on one machine.
    Please check the KB : http://helpx.adobe.com/acrobat/kb/acrobat-product-interoperability-install-remove.html
    For disabling the pdf view in Browser please refer the KB : http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html
    There's also a related registry entry :
    1.Click "Start," type "Regedit" into the Search box and press "Enter."
    2.Click "Yes" if a User Account Control prompt appears.
    3.Navigate to the ""HKCU\Software\Adobe\Acrobat Reader\[version]\Originals\" key in the left pane of the Registry Editor, where "[version]" is the currently installed version of Adobe Reader.
    4.Create the bBrowserIntegration value if it doesn't exist in the right pane by clicking "Edit," "New." Click "DWORD Value," type "bBrowserIntegration" and press "Enter."
    5.Double-click the bBrowserIntegration value in the right pane.
    6.Type "0" into the value data box and press "Enter."
    Hope this helps.
    Regards,
    Ravi.

  • Get Internet explore and Microsoft Office version from own PC

    hi experts,
    Is it possible to find out which version Internet Explore and Microsoft Office you have installed in your computer within an ABAP Program?
    Is there a function module or a method to get out of these information from your computer?
    Alternative is using some Java or Visual basic codes witin an ABAP program: if yes, please provide some example codes.
    Best regards
    LN

    Nick & Manohar are right......This method is working.....I was just checking it out.....
    On your PC, Goto START->RUN->REGEDIT
    For MS Word
    Goto HKEY_CLASSES_ROOT->Word.Document->CurVer
    You will get a default registry value of type  REG_SZ with value Word.Document.12
    The last two digits indicate the version of MS word installed (Refer Microsoft Support link http://support.microsoft.com/kb/822005 )
    Word 2010 14.0
    Word 2007 12.0
    Word 2003 11.0
    Word 2002 10.0
    Word 2000   9.0
    For IE
    Goto HKEY_LOCAL_MACHINE->Software->Microsoft->Internet Explorer
    You will find a registry value of type  REG_SZ with the version no of the installed component.
    Now, in ABAP program call the method to get the current versions.....
    DATA: v_ver_word TYPE string,
          v_ver_ie   TYPE string.
    CALL METHOD cl_gui_frontend_services=>registry_get_value
      EXPORTING
        root      = cl_gui_frontend_services=>hkey_classes_root
        key       = 'Word.Document\CurVer'
      IMPORTING
        reg_value = v_ver_word.
    CALL METHOD cl_gui_frontend_services=>registry_get_value
      EXPORTING
        root      = cl_gui_frontend_services=>hkey_local_machine
        key       = 'SOFTWARE\Microsoft\Internet Explorer'
        value     = 'Version'
      IMPORTING
        reg_value = v_ver_ie.

Maybe you are looking for

  • Returns item purchase order

    Hi I have a requirement to create a returns item purchase order, Does this functionality exist in SRM5? Regards, Hila

  • Word macro ConvertToPDF absent in Adobe 9?

    Dear all, In VBA I make use of the macro     Application.Run MacroName:="ConvertToPDF" This worked fine in previous versions of Acrobat. Since an upgrade to Adobe 9 The code fails on this line. Which macro has come in the place of ConvertToPDF? There

  • Blank n900 screen

    Hi,   I have read posts on this forum about a problem with n900 screens going blank.... a few people seem to have had this problem but have seen no reports of what the problem was..... reason i want to know is mine went down last week..... switch it

  • Recommend a Car Charger with FM transmitter

    Hi there, I'm looking for recommendations for a good car charger for my 3GS that also has an FM transmitter so I can listen to music in my car. Something that plugs into a cigarette lighter socket. Thanks in advance

  • Browser: Basic Auth login/password dialog has no "Remember Me" box, Browser re-requests password on every app restart

    Hi I'm new to BlackBerry and am at a loss how to solve this. Having to re-type Basic Auth l/p info *every* time after you restart Browser app just doesn't seem real in year 2013. Am I missing something obvious here?