Run custom JavaScript with a keyboard shortcut in Chrome
Bind your own JavaScript to a key and run it against the live page with full context — url, title, selection, and more.
Shortcuts, templates, and click macros cover most automation without a line of code. But when a workflow needs real logic — read three fields, do some math, rewrite the page — you want your own JavaScript on a key. HotKeyNavigator gives you a built-in editor and runs your function against the live page.
Write the function
Open the editor, write plain JavaScript, and bind it to a shortcut. No build step, no extension to package — you save the function and it is ready to fire on the next page you visit.
Full page context
Your function runs in the context of the page, so it can read and change the DOM directly. It also receives the things you usually need up front — the current url and title, any selectedText, and the activeElement — so you skip the boilerplate and get straight to the logic.
- Runs in page context — query and mutate the DOM like a userscript.
- Gets url, title, selectedText, and activeElement passed in.
- Lives behind a keystroke, so it fires exactly when you want it.
Everything stays local: your code runs on-device and the page never touches our servers.