Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Can non-alphanumeric keys be used as an extension shortcut key?

  • 7 답장
  • 0 이 문제를 만남
  • 14 보기
  • 최종 답변자: arunkakorp

more options

I just setup this firefox extension to help me manage my 800+ tabs - https://addons.mozilla.org/en-US/firefox/addon/simple-tab-groups/ . This might have even been causing Firefox to crash and my computer to restart, but I'll save that for a separate issue. The extension has some suggested shortcut keys, particularly Ctrl + Backtick and Ctrl + Shift + Backtick to switch between next and previous Tab groups. I tried to go to Manage Extension Shortcuts in settings, and tried to specify the keys Ctr + Backtick, but the input box would not accept the key. In fact it only seems to accept Ctrl + <alpha-numeric> key. or Ctrl + Alt + <alphanum>

Is there anyway to enable this? Most keys like Ctrl + alphabets appears to be already mapped by firefox's default mappings. my Ctrl + numbers are also similarly mapped by another tab extension to switch tabs.

Thanks, arun

I just setup this firefox extension to help me manage my 800+ tabs - https://addons.mozilla.org/en-US/firefox/addon/simple-tab-groups/ . This might have even been causing Firefox to crash and my computer to restart, but I'll save that for a separate issue. The extension has some suggested shortcut keys, particularly Ctrl + Backtick and Ctrl + Shift + Backtick to switch between next and previous Tab groups. I tried to go to Manage Extension Shortcuts in settings, and tried to specify the keys Ctr + Backtick, but the input box would not accept the key. In fact it only seems to accept Ctrl + <alpha-numeric> key. or Ctrl + Alt + <alphanum> Is there anyway to enable this? Most keys like Ctrl + alphabets appears to be already mapped by firefox's default mappings. my Ctrl + numbers are also similarly mapped by another tab extension to switch tabs. Thanks, arun

선택된 해결법

Here's a list of allowed keys: https://searchfox.org/mozilla-central/source/toolkit/mozapps/extensions/content/shortcuts.js#84

   "0" - "9",
   "A" - "Z",
   F1 - F19,
   "MediaNextTrack", "MediaPlayPause", "MediaPrevTrack", "MediaStop",
   "Up",  "Down", "Left",  "Right",
   "Comma", "Period",
   "Space",
   "Home", "End",
   "PageUp", "PageDown",
   "Insert",  "Delete"

You can't use anything else without recompiling Firefox.

문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (7)

more options

This is the default Firefox Browser hotkeys any changes to this is up to the Addon or 3rd party software to support if there is issues to their changes.

https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly

도움이 되셨습니까?

more options

The browser extension supports customizable hotkeys. The thing is when I try to type those keys in the firefox about:addons page, inside Manage Extension Shortcuts, I see this screen which I'm attaching to this post. The window does not allow me to type the backtick key or any other key that is not either a number or alphabet.

So I'm basically restricted to using Ctrl + <alphanum> and Ctrl + Alt + <alphanum> .

The extension supports Ctrl + backtick (`) but it appears that this is not enabled and I need to type the shortcut key in Firefox's Manage Extensions Shortcuts options page.

But it isn't allowing me to do that. You can see in my screenshot that I have mapped Ctrl + M and Ctrl + Q to these two shortcuts. But I would like to map something else, preferrably Ctrl + backtick. I even tried Ctrl + { and Ctrl + } but like I said the input box only accepts alphabets and numbers and no other keys.

도움이 되셨습니까?

more options

You said extension that isn't a Firefox Hotkey default.

도움이 되셨습니까?

more options

Yes, please see the title of my original post. This is about extension shortcut keys. I am trying to setup a shortcut key for my extension. I am not trying to reset Firefox's default hotkeys.

도움이 되셨습니까?

more options

선택된 해결법

Here's a list of allowed keys: https://searchfox.org/mozilla-central/source/toolkit/mozapps/extensions/content/shortcuts.js#84

   "0" - "9",
   "A" - "Z",
   F1 - F19,
   "MediaNextTrack", "MediaPlayPause", "MediaPrevTrack", "MediaStop",
   "Up",  "Down", "Left",  "Right",
   "Comma", "Period",
   "Space",
   "Home", "End",
   "PageUp", "PageDown",
   "Insert",  "Delete"

You can't use anything else without recompiling Firefox.

도움이 되셨습니까?

more options

Thanks @TyDraniu! i'll try these and report back. any more keys besides the alphabets would help, i could work with home and end or comma and period. any of those should work.

도움이 되셨습니까?

more options

TyDraniu said

Here's a list of allowed keys: https://searchfox.org/mozilla-central/source/toolkit/mozapps/extensions/content/shortcuts.js#84 "0" - "9", "A" - "Z", F1 - F19, "MediaNextTrack", "MediaPlayPause", "MediaPrevTrack", "MediaStop", "Up", "Down", "Left", "Right", "Comma", "Period", "Space", "Home", "End", "PageUp", "PageDown", "Insert", "Delete" You can't use anything else without recompiling Firefox.

these keys all seem to work. some seem bound to other functions, either Firefox defaults or perhaps some extension. but this really helps, thanks for this!

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.