We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

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

  • 7 yanıt
  • 0 kişi bu sorunu yaşıyor
  • Son yanıtı yazan: 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

Seçilen çözüm

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.

Bu yanıtı konu içinde okuyun 👍 1

Tüm Yanıtlar (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

İşe yaradı mı?

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.

İşe yaradı mı?

more options

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

İşe yaradı mı?

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.

İşe yaradı mı?

more options

Seçilen çözüm

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.

İşe yaradı mı?

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.

İşe yaradı mı?

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!

İşe yaradı mı?

Soru sorun

Mesajlara yanıt verebilmek için hesabınıza giriş yapmalısınız. Henüz hesabınız yoksa lütfen yeni bir soru sorun.