搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

ASP.NET shortcut key(Accesskey) is working with 'ALT+Shift+Letter' combination, How to remove shift frm this combination

  • 2 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

in ASP.NET we have accesskey to to implement shortcut key, in other browser like chrome , IE we just need to press ALT+Q, but in mozilla we need to press ALT+SHIFT+Q.

Q is just an example.

Now its problematic for my application users. They want to shift to Chorme, but I love to use mozilla, and want them to use it ony.

Please help me.

in ASP.NET we have accesskey to to implement shortcut key, in other browser like chrome , IE we just need to press ALT+Q, but in mozilla we need to press ALT+SHIFT+Q. Q is just an example. Now its problematic for my application users. They want to shift to Chorme, but I love to use mozilla, and want them to use it ony. Please help me.

所有回覆 (2)

more options

In Firefox, Shift is needed to avoid conflicts with the menus (e.g., Alt+s for History, Alt+b for Bookmarks, etc.).

Your users can change their accesskey accelerators so that Alt is for accesskey in the page, and some other key is for the menus. This would apply globally to all sites, not just yours. These are the preferences they would change in about:config:

As the developer you cannot change how accesskey shortcuts are set up, but you could code your own keyboard handlers in JavaScript rather than using the built-in accesskey functionality.

由 jscher2000 - Support Volunteer 於 修改

more options

It is usually best to leave those ui.key prefs at their default values.
Changing ui.key.chromeAccess would require to press the Shift key to access the menus and there may also be extensions installed that use shortcut keys and different locales may use other shortcut keys to access menu items.

Some access keys may be hard coded and impossible to override.

由 cor-el 於 修改