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

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

ئاپتورى
Vinsea
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
45
باھا نومۇرى
1 0 0
نەشرى
1.0.0
قۇرۇلغان ۋاقتى
2022-05-01
يېڭىلانغان ۋاقتى
2022-05-03
Size
19.3 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى
بارلىق بېكەتلەر

@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