X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

how to disable keyboard shortcuts using user profiles in firefox

Kuphostiwe

I would like to disable the keyborad short cuts using the profile (user.js) . Eg: Ctrl+f,Ctrl+d etc all the keyboard short cuts Should be disabled...

Similat to the below example..

Eg: user_pref("browser.tabs.autoHide", true); user_pref("browser.tabs.forceHide", false); user_pref("browser.tabs.warnOnClose", false);

I would like to disable the keyborad short cuts using the profile (user.js) . Eg: Ctrl+f,Ctrl+d etc all the keyboard short cuts Should be disabled... Similat to the below example.. Eg: user_pref("browser.tabs.autoHide", true); user_pref("browser.tabs.forceHide", false); user_pref("browser.tabs.warnOnClose", false);
Isicaphuno

Eminye Imininingwane Yohlelo

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Eminye Imininingwane

jscher2000
  • Top 10 Contributor
8505 izisombululo 69466 izimpendulo
Kuphostiwe

Hi RanShop, Firefox only has preferences for a tiny number of keyboard shortcuts, such as caret browsing (accessibility.browsewithcaret_shortcut.enabled => false prevents F7 from toggling this feature).

Why do you want to disable all the keyboard shortcuts?

Hi RanShop, Firefox only has preferences for a tiny number of keyboard shortcuts, such as caret browsing (accessibility.browsewithcaret_shortcut.enabled => false prevents F7 from toggling this feature). Why do you want to disable all the keyboard shortcuts?
Ingabe lokhu kube usizo kuwena?
Isicaphuno

Umnikazi wombuzo

jscher2000 said

Hi RanShop, Firefox only has preferences for a tiny number of keyboard shortcuts, such as caret browsing (accessibility.browsewithcaret_shortcut.enabled => false prevents F7 from toggling this feature). Why do you want to disable all the keyboard shortcuts?

Hi jscher2000, thanks for your quick reply. we are displaying the video streaming on the browser where we should not perform any operations other than specified with the buttons on the broeser. So that is the reason need to disable the keyboard short cuts like ctrl+F, Ctrl+D, functional keys and etc...

Thanks in advance.

''jscher2000 [[#answer-1231722|said]]'' <blockquote> Hi RanShop, Firefox only has preferences for a tiny number of keyboard shortcuts, such as caret browsing (accessibility.browsewithcaret_shortcut.enabled => false prevents F7 from toggling this feature). Why do you want to disable all the keyboard shortcuts? </blockquote> Hi jscher2000, thanks for your quick reply. we are displaying the video streaming on the browser where we should not perform any operations other than specified with the buttons on the broeser. So that is the reason need to disable the keyboard short cuts like ctrl+F, Ctrl+D, functional keys and etc... Thanks in advance.
Ingabe lokhu kube usizo kuwena?
Isicaphuno
jscher2000
  • Top 10 Contributor
8505 izisombululo 69466 izimpendulo
Kuphostiwe

Hi RanShop, do you control the web page containing the media player? Web pages can intercept and cancel many keyboard shortcuts. You can see an example here:

https://www.jeffersonscher.com/res/keyvents.html

If you don't control the page but you can install an add-on, the add-on can inject a script into the page to modify keyboard shortcuts. For example:

https://addons.mozilla.org/firefox/addon/shortkeys/

Hi RanShop, do you control the web page containing the media player? Web pages can intercept and cancel many keyboard shortcuts. You can see an example here: https://www.jeffersonscher.com/res/keyvents.html If you don't control the page but you can install an add-on, the add-on can inject a script into the page to modify keyboard shortcuts. For example: https://addons.mozilla.org/firefox/addon/shortkeys/
Ingabe lokhu kube usizo kuwena?
Isicaphuno
Buza umbuzo

Kufanele ulogele ukungena ku-akhawunti yakho ukuze uphendule amaphosti. Uyacelwauqale umbuzo omusha, uma ungekabi nayo i-akhawunti namanje.