X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

How do I disable keyboard shortcuts?

Размещено

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
Цитата

Дополнительные сведения о системе

Приложение

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Дополнительная информация

WestEnd 60 решений 5387 ответов
Размещено

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.
Помогла ли вам это? 0
Цитата
Isaac Vazquez 0 решений 1 ответов
Размещено

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.
Помогла ли вам это?
Цитата
cor-el
  • Top 10 Contributor
  • Moderator
17580 решений 159050 ответов
Размещено

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/]

Изменено cor-el

Помогла ли вам это?
Цитата
Azur 0 решений 5 ответов
Размещено

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.
Помогла ли вам это?
Цитата
Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.