Authenticator icon indicating copy to clipboard operation
Authenticator copied to clipboard

Please add a keyboard shortcut!

Open aleqx opened this issue 6 years ago • 6 comments

Brilliant little thing you made, thanks very much.

There are many instances (at least in my case) where the Chrome window does not have url/extension toolbar (e.g. popups). It would be great to have a keyboard shortcut to bring up Authenticator and directly into focus so we can use the keyboard to select and copy the TOTP, then right back to the webpage to paste it.

Generally speaking, it would be great to be able to do everything from the keyboard quickly. This helps in situations where things need to be done quickly, e.g. stock or currency exchanges which ask for TOTP every 1h when placing orders, and some of those times are very critical (you don't want to waste seconds).

Many thanks in advance!

aleqx avatar Jan 28 '19 14:01 aleqx

You can set hotkeys from chrome://extensions/shortcuts

Sneezry avatar Jan 28 '19 14:01 Sneezry

Yes, that's true, but how about implementing the following:

  • allowing the cursor keys + Enter to select an entry and copy it to keyboard
  • allow letter keys to quick search and copy, e.g. press b a to go to the first matching entry, e.g. banking and automatically copy it to the clipboard (from there allow cursor up/down to select different ones)
  • set a (configurable) keyboard shortcut to allow me to go back to the webpage where I can paste it

This can really help speed things up on certain workflows (even though you may wonder why would anyone need to enter TOTP that often ... some workflows actually entail that)

aleqx avatar Jan 28 '19 18:01 aleqx

We do have a keybind for search as /, though the keyboard support does need improvement for screen reader support too.

mymindstorm avatar Jan 28 '19 18:01 mymindstorm

I didn't know about /, that's useful ... but I can't use the keyboard to select and copy, I still have to use the mouse, so currently the / search is not that useful since I can use the mouse to click directly (but it's useful when you have a lot of TOTP entries).

aleqx avatar Jan 28 '19 18:01 aleqx

Still waiting the awesome feature to copy the code without mouse🙆‍♂️

recklyss avatar Oct 27 '21 05:10 recklyss

Hi @Fatezhang , if you have already upgraded to 6.3.3, you can:

  1. Setup a hotkey for the extension (https://github.com/Authenticator-Extension/Authenticator/issues/269#issuecomment-458163332)
  2. Press Tab key to move focus to account list (you may need to type password and press Enter to unlock the extension first)
  3. Press and keys to choose previous and next account
  4. Press Enter key to copy current selected account code

If you have many accounts and need have a quick search, press / and type any keyword to filer, then press Tab to focus account list again to copy the code.

Sneezry avatar Oct 27 '21 06:10 Sneezry