Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cutomization - Disable shortcut keys

  • No replies
  • 2 have this problem
  • 1 view
more options

We are working in an enterprise environment, where our requiement is to give Customize Firefox to the users. Only Address Bar visible to the user.

1- Hide Menus. (Task Done) 2- Icon along the Address bar. (Task Done) 3- Disable all Shortcut keys. (Partial Done) 4- Disable all commands of about (i.e about:config)

I have explored about the disabling of shortcut key, it cannot be done through user prefences js file as I did for Task 1 & 2. We can to do with xul programming as I read. We dont want to use the Third party Extensions as for this we have to do for each user. We want to do change in the base file from where user profile generated.

I have disabled the shortcut keys by editing in the [ C:\%Firefox Dir%\omni.ja\chrome\browser\content\browser\browser.xul ] just by adding disbaled = "true" attribute

[<key id="key_openAddons" key="&addons.commandkey;" command="Tools:Addons" disabled="true" modifiers="accel,shift"/> <menuitem id="menu_openAddons" label="&addons.label;" accesskey="&addons.accesskey;" disabled="true" key="key_openAddons" command="Tools:Addons"/>]

The Shortcut key disabled but only for the administrator but not work for the normal users whose menu disabled or not. No issue for Admin user ethier shortcut disabled but not rest features.

Please help in this regard. Either any other file which create the user profile and for point no 4. or How to resolve this issue.

We are working in an enterprise environment, where our requiement is to give Customize Firefox to the users. Only Address Bar visible to the user. 1- Hide Menus. (Task Done) 2- Icon along the Address bar. (Task Done) 3- Disable all Shortcut keys. (Partial Done) 4- Disable all commands of about (i.e about:config) I have explored about the disabling of shortcut key, it cannot be done through user prefences js file as I did for Task 1 & 2. We can to do with xul programming as I read. We dont want to use the Third party Extensions as for this we have to do for each user. We want to do change in the base file from where user profile generated. I have disabled the shortcut keys by editing in the [ C:\%Firefox Dir%\omni.ja\chrome\browser\content\browser\browser.xul ] just by adding disbaled = "true" attribute [<key id="key_openAddons" key="&addons.commandkey;" command="Tools:Addons" disabled="true" modifiers="accel,shift"/> <menuitem id="menu_openAddons" label="&addons.label;" accesskey="&addons.accesskey;" disabled="true" key="key_openAddons" command="Tools:Addons"/>] The Shortcut key disabled but only for the administrator but not work for the normal users whose menu disabled or not. No issue for Admin user ethier shortcut disabled but not rest features. Please help in this regard. Either any other file which create the user profile and for point no 4. or How to resolve this issue.