Adds a shortcut that focuses the cursor on the first text input.

Latest Version

Version
0.1.11
Update
October 21, 2024
Size
6.26KiB
Developer
mikesglitch.com
Category
Users
384
Rating
4.38462 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
See more

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

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