User Manual

The Three Stages of Keyboard Glee


Known issues:
Behavior might be unpredictable on pages that define their own keyboard shortcuts.
gleeBox won't search inside IFrames of a page.
Some bookmarklets don't work well as !commands.

1. The Basics

General keys

Default behavior

When you enter any text, gleeBox will search for links on the current page whose text matches your query. If it finds any links, it will highlight them and you can scroll through them by pressing the TAB key. You can open a particular link by pressing ENTER.

In case gleeBox doesn't find any links, when you press ENTER, it will either search the text on a search engine, or if you enter a string matching a URL, gleeBox will take you to that page.

Tab Manager (only in Chrome)

This will be a list of the currently open tabs. You can start typing to filter through them. Move through them using TAB or Arrow Keys. Choose one and press ENTER to go to that tab. You can close a tab by selecting it and pressing c or Backspace.


2. Commands

?Scraper Commands

Scraper commands let you select particular types of elements on the page. You can navigate the selected elements via the TAB key.

!Page Commands

These commands are used to take some action on the current page. Type in the command and press ENTER to execute.

:YubNub Commands

Syntax is :command where command is a YubNub command. List of YubNub commands is available at yubnub.org. While using this command, the dollar character ($) can be used to represent the URL of the current page.
Examples -

*jQuery Commands

Syntax is *selector where selector is a jQuery selector. Hitting ENTER will navigate across all elements that match the jQuery selector specified.
Examples -

3. Customizations

Use the Options page in Chrome and the Options panel in Firefox to customize gleeBox. You can customize the appearance (size, location, theme), shortcut key, switch features on and off, change the default search engine and lots more.

Advanced customizations include custom ?scraper commands and ESP mode. ESP mode lets you define default jQuery selectors for specific pages, so that you can just hit 'g' on the page to select the elements you always select. A combination of URL and jQuery selector for the ESP mode is called a 'vision'. Sorry, but we couldn't resist the nomenclature. We've included two 'visions' for Google and Bing search result pages, roll your own for your favorite websites. If you use a jQuery selector on several pages, create a custom ?scraper command for it instead of typing the entire selector out every time.

You can also define an ESP vision for your site using the <meta> tag so that when a user opens gleeBox on your site, it is automatically executed.
For example, here is the meta tag we're using for TipJar:
<meta name="gleebox-default-selector" content="li>h2>a, a:contains(Previous), a:contains(Next)" />

Finally, don't forget to check the TipJar for finding and sharing tips, commands, bookmarklets, undocumented features and more.