Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

How do I disable keyboard shortcuts?

  • 5 个回答
  • 4 人有此问题
  • 3 次查看
  • 最后回复者为 Alison N.

more options

Some of the sites I visit allow me to format text with control characters (eg ctrl-b to bold the text). However, Firefox interrupts the control characters and opens the bookmark sidebar instead. How can I override this shortcut (and, perhaps, almost every shortcut)? Thank you, Ben

Some of the sites I visit allow me to format text with control characters (eg ctrl-b to bold the text). However, Firefox interrupts the control characters and opens the bookmark sidebar instead. How can I override this shortcut (and, perhaps, almost every shortcut)? Thank you, Ben

所有回复 (5)

more options

What sites and screenshot of the error so others can test what your saying.

more options

It happens on any contenteditable element.

For example: MDN Contenteditable

Select some text in the editor on that page and try to bold it using cmd+b OR ctrl+b and it will open the bookmarks sidebar.

I just want to be able to disable or turn off that shortcut, so those content editors work correctly.

more options

Firefox 65 changed how key events on non-printing keys are sent to websites. Previously, a site would get a "keydown" and a "keypress", but starting in Firefox 65, it only got a "keydown".

  • dom.keyboardevent.keypress.hack.dispatch_non_printable_keys = "comma separated list of host-names"

由cor-el于修改

more options

CTRL+i also opens bookmarks toolbar (instead of making text italic). I tried installing Shortkeys (addon) and disabled CTRL+b and CTRL+i, but it doesn't work, firefox still intercepts the keypress and opens the effing bookmarks bar.

more options

This happens to me on Mac with Command–[comma] on Google Drive, which should insert a subscript in the document, but instead is intercepted by Firefox which opens my Preferences.

Infuriatingly, there does not appear to be any way in the Preferences tab which I keep opening to disable keystrokes, and on top of that, this command isn't even listed in any of the lists I can find of keyboard shortcuts for Firefox in the first place (e.g. https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly).