搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How Do I Disable All Shortcut Keys

  • 3 个回答
  • 1 人有此问题
  • 2412 次查看
  • 最后回复者为 Bob's Firefox

more options

I have read the same named question that has been archived and have not found a solution to my problem there. I'm using Macro Express to define my own keystrokes which works fine outside of FF. One of the keystrokes I have defined is Ctrl-Shift-k. A suggestion was to disable Developer Tools via about:config -> devtools.enable = false, but when I tried to use my definition of Ctrl-Shift-k, instead FF told me "You activated a Developer Tools shortcut. If that was a mistake, you can close this Tab." when in fact I wanted to have it invoke my own definition.

How can I override this (and other) keystrokes when using FF?

I have read the same named question that has been archived and have not found a solution to my problem there. I'm using Macro Express to define my own keystrokes which works fine outside of FF. One of the keystrokes I have defined is Ctrl-Shift-k. A suggestion was to disable Developer Tools via about:config -> devtools.enable = false, but when I tried to use my definition of Ctrl-Shift-k, instead FF told me "You activated a Developer Tools shortcut. If that was a mistake, you can close this Tab." when in fact I wanted to have it invoke my own definition. How can I override this (and other) keystrokes when using FF?

被采纳的解决方案

You can disable the developer tools entirely via devtools.policy.disabled = false on the about:config page.

定位到答案原位置 👍 2

所有回复 (3)

more options

Hi Bob, it's complicated.

Firefox doesn't have any built-in feature to reassign its own keyboard shortcuts. However, many of them can be intercepted by pages and repurposed. There are at least two general purpose add-ons that leverage this behavior by injecting your desired changes into pages:

Depending on what you want Ctrl+Shift+K to do, that might be a workaround for you.

BUT!! That said, a program like Macro Express should be intercepting key combinations before they ever reach Firefox, shouldn't it -- it works at the system level? Maybe it is not working as expected. Do the other keyboard shortcuts you set up in Macro Express work while Firefox is the active window or do they trigger Firefox actions?

more options

选择的解决方案

You can disable the developer tools entirely via devtools.policy.disabled = false on the about:config page.

more options

cor-el: thanks for the suggestion. That solved the problem.