Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 2 svar
  • 3 har detta problem
  • 1 visning
  • Senaste svar av 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.

Alla svar (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.

Ändrad av 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.

Ändrad av cor-el