How to search IMDB, Wikipedia and more from the address bar

Revision Information
  • Revision id: 134105
  • Created:
  • Creator: glasserc
  • Comment: Add explanation of non-search "smart keywords"
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: Chris_Ilias
  • Is approved? No
  • Is current revision? No
  • Ready for localization: No
Revision Source
Revision Content

Smart keywords are an easy way to search specific websites directly from the Firefox Location bar. Instead of going to the targeted website, finding the search function, and executing the search, you can search the website using Firefox, while you are at any website.

For example, suppose you search The Internet Movie Database (IMDB) on a regular basis. You can define a smart keyword to enable searching IMDB through your browser. To search IMDB for information on William Shatner, you would enter the following in the Firefox Location bar:
imdb William Shatner

Search Address Bar Win1

To create a smart keyword:

  1. Visit the page on the target website that has the search field that you would normally use to search the site.
  2. Right-clickHold down the Ctrl key while you click on the search field. Select Add a Keyword for this Search....

    Search Address Bar Win2

  3. The Add Bookmark dialog appears. Enter an appropriate name for the bookmark (e.g. "The Internet Movie Database"). Create a keyword (e.g. "imdb").

    Search Address Bar Win3

  4. Select the bookmark folder to contain the smart keyword. Click OK.

To use the created smart bookmark, enter the keyword and the search string in the Location bar and then press EnterReturn.

You can also use smart keywords as web site "shortcuts" to quickly jump to any web address. For example, let's say you want to be able to type in the name of a Github organization (for example, "mozilla-services") and be taken directly to their Github page (for example, https://github.com/mozilla-services/).

  1. Open up your bookmark library by clicking the Bookmarks button and selecting Show All Bookmarks.
  2. Click Organize and under that, select New Bookmark.
  3. For "Name", enter a name for this smart search to have when seen in your bookmarks folder.
  4. For "Location", we will put the address of the website to jump to, but with a "%s" placeholder. Examine the address of the final web page that you would like this keyword to go to. Identify the part that you would like to come from what you type (in this case the "mozilla-services" part). Replace this with a "%s". In our example, we will put "https://github.com/%s/".
  5. For "Keyword", type the smart keyword you want. In this case, you might choose "gho", for "Github organization".
  6. Click Add.

Now, you can type "gho mozilla-services" in your address bar and be taken directly to https://github.com/mozilla-services/.

Based on information from MozillaZine Knowledge Base.