We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Can you change copy and paste shortcut keys in firefox on macOS?

more options

I'm running firefox on macOS 10.12. I've changed my copy and paste shortcuts on my macOS to reflect those of a PC. So instead of 'Command - c' for copy, it is 'Control - c'. Firefox doesn't seem to like that though, as my copy and paste functionality doesn't work inside the browser. I'm thinking there is some kind of security feature in firefox to prevent malicious copying and pasting, and that is interfering with my custom shortcut keys.

I'm running firefox on macOS 10.12. I've changed my copy and paste shortcuts on my macOS to reflect those of a PC. So instead of 'Command - c' for copy, it is 'Control - c'. Firefox doesn't seem to like that though, as my copy and paste functionality doesn't work inside the browser. I'm thinking there is some kind of security feature in firefox to prevent malicious copying and pasting, and that is interfering with my custom shortcut keys.

所有回复 (2)

more options

This may help; Keybinder {web link} Customize, override or disable almost any shortcut. Based on the (discontinued) Customizable Shortcuts add-on by Tim Taubert.

more options

Firefox has some built-in settings related to "accelerator" keys like Command, Ctrl, and option/alt, but I'm not quite sure what happens if you change them. If you feel like experimenting:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste ui.key and pause while the list is filtered

(3) You can experiment with the settings (to reset to default, either right-click or Ctrl+click to call up the context menu and choose Reset)

(A) Accelerator key for keyboard shortcuts

ui.key.accelKey is the critical setting

224 = Cmd (default) 17 = Ctrl 18 = option/alt

(B) Access keys for user interface hotkeys (usually underlined) and in-page navigation hotkeys (e.g., underlined letter in labels for form controls)

ui.key.chromeAccess - user interface (e.g., menu and dialog box underlined hotkeys) - you may need to change this to avoid conflicts with the change under (A), for example, you could swap this over to Cmd

1 = Shift [DO NOT SELECT!] 2 = Ctrl (default) 4 = option/alt 8 = Cmd

You can add those numbers together to specify combinations: 3 = Ctrl+Shift 5 = Shift+option/alt 6 = Ctrl+option/alt 7 = Ctrl+Shift+option/alt 9 = Shift+Cmd etc. 0 = disable this feature

ui.key.contentAccess - hotkeys inserted into the page by its author - you probably won't have a conflict here

6 = Ctrl+option/alt (default)

Same options as above

ui.key.generalAccessKey - suggest not changing this from the default value of -1 or the above will be overriden

(C) Menu bar access key - this is probably fine since it's the same as Windows

ui.key.menuAccessKey => 18 = option/alt


For comparison, the default values on Windows are:

ui.key.accelKey => 17 = Ctrl ui.key.chromeAccess => 4 = Alt ui.key.contentAccess => 5 = Shift+Alt ui.key.generalAccessKey - suggest not changing this from the default value of -1 ui.key.menuAccessKey => 18 = Alt

由jscher2000 - Support Volunteer于修改