AutoFocusSearchBox

Automatically focuses the search box on page load

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
aceitw
今日安裝
0
安裝總數
1
評價
0 0 0
版本
1.0
建立日期
2025-04-02
更新日期
2025-04-02
尺寸
2.3 KB
授權條款
MIT
腳本執行於
所有網站

AutoFocusSearchBox

Automatically focuses the main search input when a supported website loads. Ideal for keyboard-focused users who want to start typing immediately.

Features

  • Focuses the most relevant search box on page load
  • Works on a wide range of websites (Google, DuckDuckGo, Docs, etc.)
  • Lightweight and fast

How It Works

The script scans the page for visible <input> elements likely to be search boxes (based on type, placeholder, id, name, or aria-label) and focuses the first match.