How To Set Up Firefox Keyword Bookmarks

keywordbookmark02Forget extensions -- one of the biggest selling points for Firefox is its keyword bookmarks feature. Learn how to set up keyword bookmarks (and a few handy associated keyboard shortcuts) and save yourself considerable time and trouble.

Firefox's AwesomeBar often gives the impression that bookmarks are redundant, since it can make such intelligent guesses as to what sites you want. However, bookmarks can still be useful for tracking useful but less frequently visited sites -- and if you use the keyword bookmarks feature, they can let you surf without ever having to touch the mouse.

Keyword bookmarks let you associate a given word or phrase with a site, so instead of typing in 'lifehacker.com.au' to visit this site, you could just type 'lh', and hit enter. You can access the bar in Firefox by typing Control-L or hitting F6, so that makes it possible to navigate to new sites without taking your hands off the keyboard -- just type F6, your bookmark, and hit enter. Let's look at how to set up this useful but often-ignored feature. (The instructions below are based on Firefox 3.0.8 running on Windows, but the details don't vary much across other platforms and versions.)

The basics

Let's assume you want to set up the 'lh' shortcut as described above. Here's the steps to follow:

  1. Go to the site by entering the address into Firefox.
  2. Create a new bookmark -- the fastest way is to type Control-D.
    keywordbookmark011
  3. We want to alter the bookmark's properties, so type Control-B to access the bookmarks sidebar. (You can also find this under the View --> Sidebar menu option).
  4. Right-click on your newly-added bookmark and select Properties. A dialog box will pop up.
    keywordbookmark02
  5. In the Keyword field, enter the abbreviation you want to use for the site -- in this case, lh. You can enter anything you want, but shorter phrases will obviously be quicker. The phrases aren't case sensitive -- that is, capital letters and lower case will be treated as identical.
  6. Click Save Changes. That's it! Test your new bookmark by typing lh into the AwesomeBar, hit Enter and you should hit the site.

    The clever stuff

    On their own, keyword bookmarks are really useful, but they gain a whole extra level of flexibility if you can add your own search terms to them. For instance, I regularly use a keyword bookmark to search the Lifehacker site via Google. Here's how to get that set up. We've used Google in this example, but this should work for any site which passes search terms through its URL (that is, the search results page includes the site name, the term you're looking for and various processing characters).

    1. Perform an example of the kind of search you want, using the word 'example' as your search term. For instance, if I wanted to search only on Lifehacker Australia and to exclude posts featuring the word 'Qantas', I'd type this into Google:
      example site:lifehacker.com.au -qantas
    2. Bookmark the resulting search page and access its properties (as described above).
    3. Assign a keyword (we'll use lhs in this case).
    4. Edit the Location field, replacing the word example with the phrase %s
      keywordbookmark03
    5. Save the bookmark as normal.

    Now, if you type lhs ipod into Firefox, you'll automatically get a Google search (or whatever site you selected), with the relevant search term added in.

    Some extra hints

      >

    • For maximum efficiency, choose keyword bookmarks which use adjacent letters on the keyboard but which aren't commonly found in URLs. 'zx' is good; 'er', not so much.
    • If you get the keyword bookmarks bug, there are plenty of ways to enhance your use of them. Check out how to make your keyword bookmarks smarter or use them for instant translation.

    Lifehacker 101 is a weekly feature covering fundamental techniques that Lifehacker constantly refers to, explaining them step-by-step. Hey, we were all newbies once, right?


Comments

    Um, keyword searches are way easier to setup, just right click on whatever search box you want to use ans choose "add a keyword for this search", dead easy, a lot of sites you only really use the search feature, so for stuff like imdb, ebay, shopbot, this is perfect, really is one of my favorite firefox features, suggest you edit the post to reflect how easy it is.

    I didn't really get aussieskibum's comment, so I went searching and found an excellent page explaining Firefox's smart keywords, also known as bookmark keywords or keymarks.

    The important point is to place the cursor/mouse inside the search box you want to keymark, and then click right mouse button->"add keyword for this search".

    I've done this now for ebay, and its sweet!

    The page I referred to above is here:

    http://johnbokma.com/firefox/keymarks-explained.html

    Pity Chrome still doesn't have this feature. I found it one of the most useful and efficient ways of accessing pages on the web.

      Yeah chrome, make it happen!

Join the discussion!

Trending Stories Right Now