你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/9525-focus-input-text-field-on-esc/discussions/14696,源站連結 點此以跳轉。
Focus the first visible input text field when you press Esc key, or restore the previously focused element on second press
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).