Adds a shortcut that focuses the cursor on the first text input.
Focus on first input (keyboard shortcut) Extension
The default shortcuts are:
'Alt+I' - to focus on the first input on the entire page
'Alt+S' - to focus on the first input visible on the screen
The shortcuts are fully rebindable via the extension shortcut menu (chrome://extensions/shortcuts).
To view the code you can visit my GitHub repository: https://github.com/mikesglitch/Focus-First-Input
Read more
'Alt+I' - to focus on the first input on the entire page
'Alt+S' - to focus on the first input visible on the screen
The shortcuts are fully rebindable via the extension shortcut menu (chrome://extensions/shortcuts).
To view the code you can visit my GitHub repository: https://github.com/mikesglitch/Focus-First-Input
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Focus on first input (keyboard shortcut)", "version": "0.1.11", "manifest_version": 3, "description": "Adds a shortcut that focuses the cursor on the first text input.", "icons": { "128": "icon.png" }, "content_scripts": [ { "matches": [ "http://*/*", "https://*/*" ], "js": [ "inj.js" ] } ], "background": { "service_worker": "service-worker.js" }, "commands": { "focus-first-input": { "suggested_key": { "default": "Alt+S" }, "description": "Focus on the first input on the screen" }, "focus-first-input-on-page": { "suggested_key": { "default": "Alt+I" }, "description": "Focus on the first input on the page" } }, "content_security_policy": { "extension_pages": "script-src 'self'; object-src 'self'" }}
Read more