diff --git a/keepassxc-browser/manifest.json b/keepassxc-browser/manifest.json index 0838780..f6e0b79 100755 --- a/keepassxc-browser/manifest.json +++ b/keepassxc-browser/manifest.json @@ -72,8 +72,8 @@ "fill-password": { "description": "Insert a password", "suggested_key": { - "default": "Alt+Shift+P", - "mac": "MacCtrl+Shift+P" + "default": "Alt+Shift+I", + "mac": "MacCtrl+Shift+I" } }, "fill-totp": { diff --git a/keepassxc-browser/options/options.html b/keepassxc-browser/options/options.html index dc0266a..6538290 100644 --- a/keepassxc-browser/options/options.html +++ b/keepassxc-browser/options/options.html @@ -29,9 +29,9 @@
- If you just want to insert username + password into the fields where your focus is, press Alt + Shift + U.
+ If you just want to insert username + password into the fields where your focus is, press Ctrl + Shift + UAlt + Shift + U.
- If you only want to insert the password, just press Alt + Shift + P.
+ If you only want to insert the password, just press Ctrl + Shift + IAlt + Shift + I.
You can customize these shortcuts on chrome://extensions/configureCommands page
diff --git a/keepassxc-browser/options/options.js b/keepassxc-browser/options/options.js index 7791a2f..e7db3aa 100644 --- a/keepassxc-browser/options/options.js +++ b/keepassxc-browser/options/options.js @@ -267,4 +267,16 @@ options.initAbout = function() { if (isFirefox()) { $('#chrome-only').remove(); } + + if (navigator.platform === 'MacIntel') { + $('#default-user-shortcut').hide(); + $('#default-pass-shortcut').hide(); + $('#mac-user-shortcut').show(); + $('#mac-pass-shortcut').show(); + } else { + $('#mac-user-shortcut').hide(); + $('#mac-pass-shortcut').hide(); + $('#default-user-shortcut').show(); + $('#default-pass-shortcut').show(); + } };