自动聚焦第一个输入框,可自定义快捷键

进页面聚焦到第一个搜索框中,默认使用ctrl+q可手动触发,可自定义快捷键

Autor
Vinsea
Installationen heute
0
Installationen gesamt
45
Bewertungen
1 0 0
Version
1.0.0
Erstellt am
01.05.2022
Letzte Aktualisierung
03.05.2022
Size
19,3 KB
Lizenz
MIT
Wird angewandt auf
Alle Seiten

@vinsea/tampermonkey-autofocus

说明 what can I do

自动聚焦第一个input框,默认可以使用 ctrl + q 触发自动聚焦,快捷键可修改

automaticly focus on first input box, manually trigger with shortcut keys ctrl q (can be modified on the settings)

安装 install

安装脚本|install

设置 settings

  1. 默认会自动滚动到聚焦处 the browser will scroll the element into view after focusing it,if this is set to false/, no scrolling will occur.

1

  1. 设置快捷键 Set shortcut keys

2

其他 others

更新日志|changelog