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

Add-ons shorcuts (commands API) does not work on non-english keyboard layout

  • 5 个回答
  • 0 人有此问题
  • 23 次查看
  • 最后回复者为 Paul

more options

I have an add-on which listens for "Ctrl+Alt+T" shortcut. It works fine with English (US) keyboard layout, but does not work on the other (Russian in my case). However built-in shortcuts (for example Ctrl+T) do work on Russian layout, so I believe it is a bug.

I have an add-on which listens for "Ctrl+Alt+T" shortcut. It works fine with English (US) keyboard layout, but does not work on the other (Russian in my case). However built-in shortcuts (for example Ctrl+T) do work on Russian layout, so I believe it is a bug.

由nexus.chebykin于修改

所有回复 (5)

more options

Hi

If this is an issue with an add-on that you have installed in Firefox, I recommend that you contact the developer directly through the support link in the page that you installed the add-on from.

Add-ons for Firefox are developed and supported by a global community of independent developers.

more options

That is my own add-on, which uses commands API. However it does not allow for non-latin letters in shortcuts: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/commands#key_combinations I think that it would be reasonable for Firefox to fire the event regardless my current layout, just like using built-in shortcuts.

由nexus.chebykin于修改

more options

I recommend that you ask about this in the dedicated add-ons developers forum at:

https://discourse.mozilla.org/c/add-ons/35

more options

No problem, glad we could point you in the right direction.