简体   繁体   中英

Chrome/Firefox: Disable keyboard shortcuts on websites

I am using Outlook Web Access in Chrome and Firefox. On OS X, the webpage uses the keyboard shortcut Option+S for sending off the email. Unfortunately, on OS X the same shortcut is usually used to type the German Umlaut "ß". Hence, whenever I now try to type a word with that character, the website instead sends off my email. Do you know of any plugin or other means to disable such shortcuts on certain websites? Thanks!

You can tell Firefox to disable all keyboard shortcuts for websites (as well a couple other options). Look at this pref on the about:config page.

permissions.default.shortcuts (default = 0)

The values can be set as follows:

UNKNOWN: Services.perms.UNKNOWN_ACTION [0]
ALLOW: Services.perms.ALLOW_ACTION [1]
BLOCK: Services.perms.DENY_ACTION [2]
PROMPT: Services.perms.PROMPT_ACTION [3]

Note that there may be some undesirable side effects, eg my fn+delete macOS System function no longer works to delete the next character after my cursor... maybe there's a workaround for that?

I found this solution here:


More context:

I had a similar problem with Outlook Web App (OWA) in Firefox on Macbook (OSX), where I want to refresh the page with cmd+r but instead OWA would interpret the shortcut as "reply" and pop-up a new window to reply to the selected message instead of simply refreshing the page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM