How do I disable certain hotkeys?

I'm trying to disable certain hotkeys because I keep pressing them by accident. I press CTRL+Q when I was trying to close tab (CTRL+W) and firefox closes completely.
Similarly, when I'm typing in a web form, and accidentally press ctrl+k (Emacs habit), the page suddenly goes to google. BTW, it only started doing that when I removed the search box from the toolbar, otherwise it would focus the google box in the top right and I'd have to mouse back to the form, which is still annoying.
I'd like to disable any hotkey in Firefox. Not change, but disable completely. I found an addon which disables ctrl+q but that doesn't solve my ctrl+k issue.
I use Firefox on both Linux and Windows.

What the Disable Ctrl-Q Shortcut extension does is set a disable attribute to the #key_quitApplication shortcut.
*https://addons.mozilla.org/firefox/addon/disable-ctrl-q-shortcut/
Try to modify the bootstrap.js file in the disable_ctrl_q_shortcut-20120821-fx-linux.xpi ZIP archive to disable the #key_search shortcut.<br />
You can use the DOM Inspector if you want to disable more keyboard shortcuts.
<br />
<pre><nowiki> toggle: function(window, value) {
var shortcut = window.document.getElementById("key_quitApplication");
if (shortcut)
shortcut.setAttribute("disabled", value);
var shortcut = window.document.getElementById("key_search");
if (shortcut)
shortcut.setAttribute("disabled", value);
</nowiki></pre>

Similar Messages

  • How to hide/disable certain features in left panel, need help...

    Heya,
    So I upgraded to Leopard recently and I see that Mail has some lovely new features that appear in the left panel. Things like "On My Mac", "RSS", "Reminders" and my IMAP drive. Basically all I want to see is my "Inbox" drop down (this connects to GMail via IMAP) and all of it's sub-folders - nothing else.
    I can't seem to figure out how to "turn off" these other features, can anyone help?
    Thanks!

    I will have to experiment, when time permits, to see if a user created folder on the server appears both places for me. I think it should only appear in the lower section of the Sidebar. In the meantime, please review the info at the two links below:
    http://mail.google.com/support/bin/answer.py?answer=78892#
    and
    http://mail.google.com/support/bin/answer.py?answer=78755&ctx=sibling
    for consistency with what you are doing and observing?
    A Gmail account is not exactly a POP is accessed as POP, and not exactly an IMAP, if accessed as IMAP. For example you are told to not use your own email client's Junk filter, but if you have more than one account, and that additional account is not Gmail, then you lose the ability for Mail to filter Junk for that account.
    The bottom line is that every feature of Gmail is set to encourage your accessing via a Browser rather than an email client to expose you to the maximum ads.
    Ernie

  • ็้้How can I disable hotkeys?

    How can I disable FF hotkeys as there are problems when I use other programs at the same time?

    Thanks a lot for the answer Shmoopie99,
    "If your plugin is running as a separate process it should not be getting any events meant for Photoshop if your plugin process is active."
    Yes that is almost correct. I dont want to get into useless details but I have no problems there and events meant for Photoshop dont disturb me.
    "If you're spinning an event loop in your Photoshop side of things, only process UI update events - ignore any other events such as input events."
    I cant ignore input events because I need them. The problem is not my tool getting input events from Photoshop, is Photoshop the one geting events comming to me.
    The only connection to Photoshop I keep in my process is that is parented to photoshop using the HWND handler.
    I must insist in the question then... How to make Photoshop wait while my window is in focus? How to disable accelerators?

  • How to disable certain keys in Macbook's keyboard

    How to disable certain keys in Macbook's keyboard? My keyboard is break down. It always type "\" key and disturb me!
    Dealer says internal keyboard need cost $120 to replace.
    So, I think can i disable "\" key? i don't want to disable keyboard, just \" key.
    Thanks for help!

    This posting shows how to remove a default Action;
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=657819

  • How to disable certain form fields from a calculation with a check mark fields.

    How to disable certain form fields from a calculation with a check mark fields.
    In Canada we have to taxes
    I create a form that calculate them to a total
    I need to be able to turn off any of those to taxes to participate to the calculation and their visibile field should become 0
    I was thinking using a checkbox (when checkbox is on (Yes) the tax is calculated, Not ticked (Off) the tax is not calculated and the visible field should show 0 or nothing....
    I really need help on this one — I’m a complete newbie....
    Remark that the second tax is calculated on the sum of what the first tax add (first tax is pan-canadian tax (all provinces).
    The second tax is never use alone (Quebec only (on top of the Canadian one)
    Sometime for outside Canada sell - No tax at all is calculated....
    What should I do?

    I want to tank you to help, really appreciate —>
    This is the code and order... I just trow the checkbox in there (they have, so far, no purpose...)
    The code use is
    var a = this.getField("pricehorstx");
    event.value = Math.round (a.value * 7.25) / 100
    I guess -If the checkBox are check - The tax should be calculate — If “Off” the tax should be not calculated and PriceHST and /or PriceQST should show zero or be empty — The HST is always calculated in Canada, but the QST is added only in Quebec.
    I need to turn both to Zero for international sale.
    Message was edited by: Chacapamac

  • Why do certain apps open when starting up in Lion and how can I disable them?

    When I start up my iMac using Lion, certain apps--iChat, Calendar, Mail--open.  How can I disable these?

    Welcome to the iOS world of nonthinking, wherein the OS decides everything for you, whether or not that's what you want. Salient details described in http://www.apple.com/macosx/whats-new/features.html#resume
    See these for steps to resolve:
    http://hints.macworld.com/article.php?story=20110918051930924
    http://osxdaily.com/2011/08/01/turn-off-resume-per-app-in-mac-os-x-lion/
    http://restoremenot.info/

  • How to disable certain text fields in second tab based on the drop down selection from first tab?

    My first tab contains a drop down menu which has two options
    1. Personal info
    2. Office info
    The second tab contains all the information regarding Office and Personal Information. But I need to selectively disable certain fields based on the drop down in first tab.
    For example,
    The second tab consissts of all fields like
    Name,
    Age
    Job title,
    Office Location, etc.
    And i dont want office related details to be displayed if I am selecting personal info in the first tab.
    It would be really great if someone could send me the code for achieving this.
    Thanks in advance.

    Hi Vishnu
                  Can you check the List component in foundation/components ? I think "Build list using" works he same as your requirement. Check the listener they have used in dialog/items/list/items/ listFrom/listeners
    "selectionchanged"  : function(box,value){box.findParentByType('tabpanel').manageTabs(value);}
    here the ExtJs will find the tabpanel with value you are selecting fromdropdown. The title of each panel should match with the dropdown values
    Some queries
    Disable values means you have to remove it from your CRX?
    "values should become mandatory". for tab2? or tab3? - if tab2 and if it is a customized widget then u have to write it in your js only i think.
    Thanks
    Veena

  • How can I disable toolbar features when opening a file in a browser?

    Hi,
        I am trying to create an application that loads a pdf in a browser and want to disable certain toolbar features so that the user is incapable of ever seeing them. I know how to do this manually by going to the toolbar settings, but the user can easily enable them as well doing the same process. How can I code this to enable and disable features of adobe reader without having to change the registry keys or by doing them manually? Is there a way to do this? Is there a command that I can type in the command prompt to do this? I am working in C++ on a windows app.
    Basically, I am asking how to edit any/all Edit>Preferences by coding it or through command prompt when launching the pdf without having to do it manually.
        Much help would be appreciated. Thank you!

    If you are using URLConnection
    myURLConnection.setRequestProperty("pragma:","no-cache"Actually, the 'pragma' header is an HTP 1.0 (old) concept. The one for HTTP 1.1 is 'Cache-Control'. That said, you should always use both to support old/new browsers.
    You could also use the following headers :
    Expires, must-revalidate, proxy-revalidate etc...
    You could also implement a getLastModified() method in your servlet, which returns the time (as a long) at which the content was last changed. The server could then intercept 'If-Modified-Since' requests.
    Keep in mind that, because of several notorious browser bugs ( http://www.web-caching.com/browserbugs.html ), it can be difficult to effectively turn off caching across the board.

  • Disable certain fields during the creation of SC using "create limit item"

    Hi,
    I have a requirement to disable certain fields from the role "SHOP" associated with the operational purchaser role. I would like to disable the fields "Unlimited check box", "Service Agent", " Invoice Only radio button", "Unknown account assignment radio button" from the screen I get during creation of SC using the option "Create Limit Item". Also i need to disable the option "Good / Service" entry box as we are using only free text items and donu2019t want this option to be seen in the screen when using the operational purchaser role.
    Please advise how can I achieve this.
    Regards
    GGL

    Hi,
    I have a same requirement to disable certain fields from the Shopping Cart Limit Item. I would like to disable the fields  "Service Agent", "Unknown account assignment radio button" from the Detail  screen. during creation of SC using the option  Limit Item .  Also i need to make default Value "Known" and "Invoice Only". But this is in SRM 7.0. Notes You have mentioned supports only Release 5.5, But I am in Release 7.0. Any idea?
    I appreciate your help
    Thanks,
    Monica

  • How do I disable zip folders in Windows 7?

    I like to use a third-party archive application, so I really don't like how by default Windows makes zip files expand automatically in Windows Explorer and show up in the folder view.
    So... How do I disable zip folders in Windows 7?
    In XP and Vista, I was able to find solutions to remove this "feature" 
    In XP, I simply did...
    regsvr32 /u zipfldr.dll
    In Vista, I had to remove a couple registry entries:
    Windows Registry Editor Version 5.00
    ; Disable ZIP support in Windows Vista
    ; restart Windows after applying this patch
    [-HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}]
    [-HKEY_CLASSES_ROOT\CLSID\{0CD7A5C0-9F37-11CE-AE65-08002B2E1262}]
    I don't want to guess and delete the wrong registry entries if someone else knows which ones I need to remove.

    EDIT - I HAVE FOUND A SOLUTION
    After considerable browsing (thank you, Google), I have a solution that works. It is based on fixes for Vista, but works 100% for my Windows 7 64-bit install. 
    You will need to edit your registry (delete 2 different keys), so I highly recommend you back up your registry or better yet, make an image of your OS drive (probably C:\). I use Norton Ghost 2003 (only from a NG 2003 boot floppy) and have never had a single problem. Norton Ghost does not have to be installed on your system for this to work (in fact, it will stall due to compatibility issues). 
    First a note regarding the various reg tweaks that are available for download (e.g., "vistaunzip.reg"). These will NOT work - undoubtedly due to ownership/permissions issues. 
    The following two (2) keys need to be deleted fromthe registry:
    For zip files delete the regkey
    HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}
    For cab files delete
    HKEY_CLASSES_ROOT\CLSID\{0CD7A5C0-9F37-11CE-AE65-08002B2E1262}
    When you try to delete them, you will almost certainly get an "access denied" or "failed" type of message. Before you can delete them, you need to change the permissions/ownership of these two keys. Here is how to do it:
    01 - open regedit from the RUN console
    02 - navigate to the first key that needs to be deleted (HKEY_CLASSES_ROOT\CLSID\{E88DCCE0- B7B3-11d1-A9F0-00AA0060FA31})
    03 - right click on the key and select "Permissions"
    04 - click on "Advanced"
    05 - click on the "Ownership" tab
    06 - in the "change owner to" section, highlight your username
    07 - check the box for "replace owner on subcontainers and objects"
    08 - click on "Apply"
    09 - Click "OK"
    10 - Under "Security" tab, highlight your username and check the box for "Allow Full Control" (located mid-menu in the "Permissions For Administrators" section)
    11 - click "Apply" and "OK"
    12 - you can now delete the registry key. MAKE SURE YOU ARE ON THE CORRECT KEY!
    13 - repeat the process for the 2nd key.
    14 - reboot (changes will NOT take effect until you reboot
    15 - VOILA! NO MORE ZIP FOLDERS! woohoo!
    16 - thanks to the original solvers of this problem, whomever they may be.
    I would like the same help that deedvd is seeking. How do I DISABLE the
    zip folder function? I do NOT want my zip files to appear as "folders".
    Why anyone in Redmond thought this was a brilliant idea is beyond me.
    It adds to clutter and makes file browsing a lot less enjoyable. I
    simply want my zip files to appear as files - with the ".zip"
    extension. Just like every other file. The responses to deepdvd were
    probably as frustrating to him as they are to me. Changing the default
    program for zip files is IRRELEVANT. It only changes whether Windows or
    some third party app (7Zip, Izarc, etc) OPENS the files. They continue
    to show up as folders.  I tried the unregister script (earlier thread)
    "Running regsvr32 /u %windir%\system32\zipfldr.dll should be enough to disable zip functionality. Then just run your 3rd party archite application and let it re-register archive files." and it did not work. I got the same error that deeddvd got "The module "C:\Windows\system32\zipfldr.dll" was loaded but the entry-point DllUnregisterServer was not found.
    Make sure that "C:\Windows\system32\zipfldr.dll" is a valid DLL or OCX file and then try again."
    I would love to find a resolution to this problem. If anyone out there knows how to DISABLE the zipfolder function, please post the solution. I am thanking you in advance.

  • Disabling certain fields on the selection screen.

    Hi all,
              I want to disable certain fields on selection screen of my program, also i want to display certain fields on selection screen only if a particular field on the selection screen is checked or selected. Please guide me how this can be achieved via coding in a program.
    Thanks & regards,
    Chetan.

    Hi Chetan,
    try this.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: pa_file TYPE rlgrap-filename MODIF ID abc,
    pa_lifnr TYPE lfa1-lifnr MODIF ID abc,
    pa_vkorg TYPE vbak-vkorg MODIF ID abc.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: pa_kunnr TYPE vbak-kunnr MODIF ID def.
    SELECT-OPTIONS: s_lifnr FOR gs_lfa1-lifnr MODIF ID def,
    s_date FOR gs_lfa1-erdat MODIF ID def,
    s_augru FOR gs_vbak-augru MODIF ID def,
    s_vbeln FOR gs_vbak-vbeln MODIF ID def.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_upd RADIOBUTTON GROUP g1 USER-COMMAND uc01 DEFAULT 'X'."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-004 FOR FIELD pa_upd.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_rep RADIOBUTTON GROUP g1 ."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-005 FOR FIELD pa_rep.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b3.
    IF pa_rep EQ gc_x.
    LOOP AT SCREEN.
    IF screen-group1 = gc_abc.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_def.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ELSEIF pa_upd EQ gc_x.
    *For Reprocessing
    LOOP AT SCREEN.
    IF screen-group1 = gc_def.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_abc.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    CLEAR pa_upd.
    ENDLOOP.
    ENDIF.
    REPORT zrich_001.
    PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X'
    user-command chk,
    p_rad2 RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_datum1 FOR sy-datum MODIF ID d1,
    s_datum2 FOR sy-datum MODIF ID d2.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF p_rad1 = 'X'
    AND screen-group1 = 'D2'.
    screen-active = '0'.
    ENDIF.
    IF p_rad2 = 'X'
    AND screen-group1 = 'D1'.
    screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    reward if useful.
    regards,
    sravanthi.

  • Cl_wd_table - enable/disable certain cells

    Hello together,
    I'm looking for a good solution to enable/disable certain cells in a table.
    For example I have the following table (the real table is more complex - with buttons and so on...):
    User
    ToDo
    State
    A
    Todo1
    Done
    B
    Todo2
    In Process
    A
    Todo3
    In Process
    B
    Todo4
    Done
    I have different users which are working on this tabe:
    - Administrator: Can edit whole table (except State column)
    - Employee: Can only edit State Column where he is assigned
    I think it would be difficult to work with context attributs in this case?
    Is it possible to Loop over all table lines an set "enabled" Attribut in the coding?
    Best Regards

    Hi Uwe,
    Check this below links
    How to edit conditionally row of a ALV table in Web Dynpro for ABAP
    ABAP WebDynpro: Can edit a cell in a column?
    Thanks
    KH

  • How do I disable automatic updates?

    I am going to have to use Firefox version 28 forever, exposing myself to many security risks in the process, because I do not like the drastic redesign of the interface in version 29 and Mozilla have not included an option to switch to the old interface.
    Many support forum posts argue that bringing back the old interface is a 'simple' matter, but it is not. I have spent many hours on two PCs so far, fiddling with the recommended third-party add-ons (e.g. Classic Theme Restorer) in the attempt to get the browser looking the old way again. I can ascertain with confidence that it is NOT possible to get things looking exactly as they did before, and certainly not looking like the particular customized setup I had myself.
    I have now re-installed version 28, and intend to continue using it indefinitely. However, automatic updates are still enabled, and Firefox has already tried to update itself to version 29 again. How can I disable automatic updates for good? I have tried some tricks like deleting the update files and then removing the update URL in about:config, but a new update was still downloaded somehow.
    How can I nix automatic updates for good?

    Hi,
    It is true that the Classic Theme Restorer add-on will NOT bring back all of your customized settings/appearance on Firefox 28, but it will help a little It's recommended that you stay on the latest version to receive the latest security fixes and bug patches but you're free to downgrade if you want.
    You can set these prefs in <code>about:config</code> to disable automatic updating:<br>
    app.update.auto - false<br>
    app.update.enabled - false<br>
    app.update.silent - false<br>

  • How do I disable Protected Mode at startup on Reader XI

    fallowing the instructions on:
    http://helpx.adobe.com/acrobat/kb/protected-mode-troubleshooting-reader.html
    I went  to "Edit > Preferences > General Tab".  The objective wasa to uncheck "Enable Protected Mode at startup".  The page was written for Reader X on Reader XI I couldn't find "Enable Protected Mode at startup" on the Gernal tab.  How do I disable Protected Mode at startup on Reader XI?

    Dragon NaturalySpeaking software doesn't work on FireFox in with Reader in Protected Mode.
    I see no hope for the future of our people if they are dependent on the frivolous youth of today, for certainly all youth are reckless beyond words. When I was a boy, we were taught to be discreet and respectful of elders, but the present youth are exceedingly disrespectful and impatient of restraint.
    - Hesiod, eighth century B.C.E..

  • How can I disable the shift-click slow motion special effects in Mac OS 10.6?

    How can I disable the slow motion special effects that occur when you do something and hold shift? (By the way, the terminal command doesn't work in 10.6)

    I'd like to know how to do this now too since the terminal command doesn't work in Lion / ML. Anyone know how?
    And Leroy - the reason is because I have custom hot keys configured and the shift key is a key I want to use for this command. I would like to know how to disable the slow motion effect permanently since I never need it and would certainly like to use my shift key as a modifier for various keyboard commands.

Maybe you are looking for

  • Cannot see Time Capsule for backup but internet perfect A

    I've seen other posts about time capsule problems and most talk about wireless dropout and loss of internet connectivity. My situation is almost the reverse: Full airport strength in menu bar. Full access to internet sites on at least one computer. C

  • TS1538 iTunes not recognize my iPhone in Windows 7 (64 bit)

    I did ALL advices found on Apple support forum! Still cant see my device! What shall I do?! I have latest iTunes 11.0.1 (64 bit).

  • How to find out if a panel contains a specific component

    I am in a situation where i need to know whether a panel contains a specific component or not, like is there a specific method for that. To clarify, example : Suppose i have a panel JPanel p1; p1 = new JPanel(); JLabel label = new JLabel("LABEL"); p1

  • Customer invoices are not getting cleared when lockbox file imported in sap

    Hello ,   When the lockbox file is imported into SAP , it is not able to clear customer invoices. It creates SAP documents and payment advices but not able to apply the payments to customers accounts.   Can anyone suggest on this with possible soluti

  • HT3706 Can't update the EFI firmware.

    When trying to update the EFI firmware, I get the message: 'This computer does not need this update.' even though my firmware is out of date. My firmware version is: Model Name:          Mac mini   Model Identifier:          Macmini3,1   Processor Na