Focus input text field on Esc

Focus the first visible input text field when you press Esc key, or restore the previously focused element on second press

< Opiniones de Focus input text field on Esc

Puntuación: Bueno; el script funciona tal y como promete

§
Publicado: 10/04/2020

Unselect the text

Thanks for the script. Here's my little pray: Could you please add the input text optional auto «deselection»? When i press Esc and the input control gets the focus — all the text inside the control automatically becomes selected so i additionally have to press left or right button to unselect it. Not a big deal but it would be great to automate it too (optionally of course).

Publicar respuesta

Inicia sesión para responder.