Ovo će web mjesto raditi na ograničen način, dok obavljamo održavanje stranice. Ako neki članak ne riješi tvoj problem i ako želiš postaviti pitanje, naša zajednica za podršku spremna je pomoći na Twitteru @FirefoxSupport i na Redditu /r/firefox.

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

How do I disable certain hotkeys?

  • 2 odgovora
  • 3 imaju ovaj problem
  • 1 prikaz
  • Posljednji odgovor od cor-el

more options

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.

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.

Svi odgovori (2)

more options

BTW, CTRL+Q is not an issue here on Windows, where the hotkey does nothing.

It is giving me grief on linux, but there I got the ctrl+q disabler installed.

more options

What the Disable Ctrl-Q Shortcut extension does is set a disable attribute to the #key_quitApplication 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.
You can use the DOM Inspector if you want to disable more keyboard shortcuts.

    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);
    },