Simple Gamepad Navigation

Navigate (almost) any accessible website with a controller.

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

You will need to install an extension such as Tampermonkey to install this script.

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

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

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

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

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

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

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

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

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

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

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

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

作者
miniwangdali
今日安裝
0
安裝總數
5
評價
0 0 0
版本
0.0.3
建立日期
2025-09-07
更新日期
2025-09-14
尺寸
35.6 KB
授權條款
MIT
腳本執行於
所有網站

Simple Gamepad Navigation (Userscript)

Navigate (almost) any accessible website with a controller.

This userscript injects the Simple Gamepad Navigation engine into every page you visit (*://*/*). Once installed in Tampermonkey (or another compatible userscript manager) you can move focus, scroll, activate links & buttons, open context menus, and perform basic keyboard actions using your controller.

[!IMPORTANT]
Only support Xbox style controllers for now.

Button / Axis Mapping (Xbox standard)

Control Behavior
Left Stick / D‑Pad Focus navigation; Increase/Decrease value in slider once entered.
Right Stick Scroll in container of the current focused element. (X → horizontal, Y → vertical)
A Dispatch Enter; Clicks links; Enter slider adjustment;
B Dispatch Escape; Exit slider adjustment;
Left Trigger Dispatch Shift
Right Trigger Dispatch Control
Menu (≡) synthesized right‑click
View + Left Trigger Attempts to close the current window
Bumpers Move to previous/next tab
Bumpers + Right Trigger Navigate back/forward in history

Library

This userscript uses the simple-gamepad-navigation library under the hood. See that package for more details.

License

MIT (see root repository license)

Disclaimer

Experimental. Behavior may change. Some sites may conflict with synthesized events. Use at your own discretion.

Enjoy browsing with your controller.