X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

How do I disable keyboard shortcuts?

Được đăng

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
Trích dẫn

Chi tiết hệ thống bổ sung

Ứng dụng

  • Chuỗi đại diện người dùng: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Thông tin chi tiết

WestEnd 60 giải pháp 5387 câu trả lời
Được đăng

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

What sites and screenshot of the error so others can test what your saying.
Bài viết này có hữu ích với bạn không? 0
Trích dẫn
Isaac Vazquez 0 giải pháp 1 câu trả lời
Được đăng

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.

It happens on any contenteditable element. For example: [https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable 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.
Bài viết này có hữu ích với bạn không?
Trích dẫn
cor-el
  • Top 10 Contributor
  • Moderator
17586 giải pháp 159096 câu trả lời
Được đăng

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"
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" *[https://www.fxsitecompat.dev/en-CA/docs/2018/non-printable-keys-no-longer-fire-keypress-event/]

Được chỉnh sửa bởi cor-el vào

Bài viết này có hữu ích với bạn không?
Trích dẫn
Azur 0 giải pháp 5 câu trả lời
Được đăng

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.

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.
Bài viết này có hữu ích với bạn không?
Trích dẫn
Alison N. 0 giải pháp 1 câu trả lời
Được đăng

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).

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).
Bài viết này có hữu ích với bạn không?
Trích dẫn
Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.