Google Chrome’s Omnibar in Firefox

Everyone knows about Google Chrome’s Omnibar, the all-in-one Search and Address Bar that’s part of Google Chrome’s minimalist design. It’s one of Google Chrome’s important features, and not to mention dead useful. The Omnibar allows you to search Google, along with various other sites, without having to actually go to Google.com (or the other site in question) and search from there.

Now what if there was a way to duplicate such functionality in Firefox?

Of course, you could use the Omnibar addon: https://addons.mozilla.org/en-US/firefox/addon/omnibar/

But what if you want to keep your Firefox, already a lumbering giant, trimmer than it could be otherwise? It turns out that all of the Omnibar’s default features (searching various sites from the address bar) are implemented in Firefox already, albeit with less streamlining. Setting up this feature only takes seconds for each search engine you have, and Firefox has hundreds of search engines all in one place.

Keywords

In this image, I have linked keywords with search engines: "g" with Google, "wp" with Wikipedia, etc.

The idea behind this quick and simple hack is the “Edit Keyword” button that appears in the “Manage Search Engines” dialog. This button creates a link between any combination of characters, or keyword if you will, and a search engine such as Google.

This effectively duplicates the ability of Chrome’s Omnibar to search from the address bar. Searching is just as simple: simply type in the keyword, followed by a space and the search term. It’s just as if you were searching from the dedicated search bar in Firefox. These keywords are case-sensitive, however, so remember to type in the keyword and the search exactly how you want.

Google searching for "techairlines"

Google searching for "techairlines"

For websites that don’t have a dedicated Firefox search extension, you can use the %s variable and the keyword bookmarking ability of Firefox. One example is Merriam-Webster’s online dictionary, whose URLs all follow the format
http://m-w.com/dictionary/<word>/

By creating a bookmark to
http://m-w.com/dictionary/%s/

and setting a keyword, you can search Merriam-Webster just by typing in the keyword and the search word. (An alternative to Merriam-Webster dictionary search is Dictionary.com search, which does, in fact, have a dedicated search extension in Firefox.) This hack, however, is completely subsumed by the following one.

A final easy-to-set-up search hack is the “Add a Keyword to Search”. This allows you to add a keyword to any search, anywhere.

Right click on a search bar (I used TechAirlines’ search) and select “Add a Keyword for this Search”. Set a keyword for the bookmark, and voila!

Add

This is actually just another bookmarklet hack.

Google Chrome has some neat built-in tricks, though, but nothing that can’t be done by Firefox. The Chrome Omnibar lets you bypass Google Web Search in favor of some other Google searches, such as Docs or Gmail, or (since it doesn’t have a dedicated search extension) even Google Images. The built-in keywords are detailed here, but you can use the right-click “Add a Keyword” to do the same thing, and with more flexibility.

Have other search bar tricks? Share with us in the comments.

By
I get really worked up sometimes.

  • http://www.techairlines.com Brian Yang

    Welcome aboard and congrats on your first post on TechAirlines!

    Firefox had this feature for a while, but it doesn’t seem like many people take advantage of it because it isn’t as advertised nearly as much (if at all) as Chrome’s Omnibar.

    Personally, I think Mozilla should follow Chrome and IE9′s steps and combine the search bar and URL bar. There actually isn’t much use for having two bars. The original mockup designs for Firefox 4.0 showed a Firefox Omnibar like Chrome’s, but I guess that didn’t make it through to the betas. Everyone certainly followed Chrome’s steps for creating a minimalistic interface.

    While not as streamlined as Chrome’s version, this is definitely a useful tip for Firefox users.

    Thanks for your contribution! :)

  • William Dou

    Yeah, Firefox’s omnibar is definitely not nearly as streamlined as Chrome’s is.

    And none of the above seems to be really heavily advertised, even by Mozilla itself…I was looking through the help database and nothing had come up on keywords. It’s really quite a shame, this is pretty useful and I have no idea why Mozilla hasn’t mentioned this really at all, or promoted this as a feature.

  • jay

    I’m not going to move from Chrome to Firefox unless it gets an omnibar. I don’t want to use keywords and I want both history and instant searches to appear in the drop down when I type in the bar.