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

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

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Vinsea
1日のインストール数
0
累計インストール数
45
評価
1 0 0
バージョン
1.0.0
作成日
2022/05/01
更新日
2022/05/03
大きさ
19.3KB
ライセンス
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