Skip to content

Keep your hands on the keyboard while browsing the web. Type any text that occurs inside a link, and hit return to follow it. ⌘G jumps to the next link containing the text, and ⌘⇧G jumps to the previous. Hit ESC to cancel or exit a focused field.

Notifications You must be signed in to change notification settings

bog/Type-To-Navigate

 
 

Repository files navigation

Type-To-Navigate

Overview

Type-To-Navigate is an extension for Apple Safari and Google Chrome. It enables a type-to-select feature much like Firefox's accessibility.typeaheadfind option (in about:config), whereupon you can select links (or any word, really) just by typing.

Usage

Type characters on the keyboard while there are no input fields focused. The first text match will be highlighted as you type. If the selection happens to be within a link, hitting the return key will follow it. Hitting ⌘G will go to the next result. ⇧⌘G will go to the previous result. Esc will cancel an in-progress search (in case you are in a hurry), and will also de-focus fields and links.

Installation

  1. Click to install the extension, or download it and drag into a Safari window:

  2. Click all ensuing confirmation buttons.

Both browsers provide an automatic extension update service, so there should be continual improvements where needed. Safari will not install updates without permission unless you check "Install Updates Automatically" in Extensions preferences; Chrome updates them automatically.

Sites With Remaining Quirks

  • GitHub -- some letters don't register, like 's', which triggers focus on the search field, and 't', which does something unspecified.
  • Google search results -- When typing the same string as that for which was searched, it seems like some hidden text is selected. Typing something different is a workaround.
  • Google Reader, Gmail? - sometimes interferes with j/k-style navigation

Future Plans

  • j/k-style navigation support, for websites that use it like Google Reader and Gmail.
  • Configurable website blacklist.
  • Trigger key: / or ⌘⇧F
  • useful hotkeys like ⌘C to copy the selected link, and ⌘I to send the link to instapaper
  • IFRAME support .. right now you can't type to select inside them.

Version History

  • 1.01 - Migrated to github servers, removed old (inactive) userscript update code.
  • 1.00 - Initial public release.

License

Type-To-Navigate is licensed under the MIT license. Also, I remain the official publisher, including in Apple's Safari Extensions Gallery and automatic update feed. Feel free to fork, but push changes back to me and I'll incorporate them in the official version as I see fit.

Author

Daniel K. Bergey
http://twitter.com/dbergey

About

Keep your hands on the keyboard while browsing the web. Type any text that occurs inside a link, and hit return to follow it. ⌘G jumps to the next link containing the text, and ⌘⇧G jumps to the previous. Hit ESC to cancel or exit a focused field.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%