Submit your breaking news stories and original articles to us by contacting us
Did you know that if you entered a search term into the address bar (where you’d normally enter a URL), Firefox does a “I’m Feeling Lucky” search on Google? If you don’t know what that means, try clicking the “I’m Feeling Lucky” search on Google the next time you’re there - basically, it takes you to the very first search result.
Granted, not many people would consider that very useful. I’d prefer to have it perform a normal Google search instead, as I’m sure quite a number of you would too. Not to fear, because with Firefox, you have control!
Let’s see how you can make Firefox perform a standard Google search from the address bar:
If Google doesn’t quite float your boat, you can use other search engines as well. Use “http://search.yahoo.com/search?p=” for a Yahoo! search, “http://imdb.com/find?q=” for a IMDB search, “http://dictionary.reference.com/search?q=” for a Dictionary.com search, and so on. You just have to make sure that the search string of your search facility accepts a query string that takes in your keyword(s).
This is an amazingly powerful feature in Firefox. With custom keywords, you can load up a webpage using with your assigned keyword. For example, I can go to the SitePoint.com website by typing “sp” into the address bar. To achieve that, all I had to do was to create a bookmark for SitePoint.com (http://sitepoint.com/) and add the keyword “sp”.
“That’s it?”, you say. Well, we’re getting to it, the real power of custom keywords, that is. With custom keywords, I can Google search for the “best browser” by typing “g best browser” in the address bar, lookup the meaning of “promissory” on Dictionary.com by typing “d promissory”, and lookup the Bugzilla bug report for bug 75138 by typing “bug 75138″. Let’s work through how to do that with a Dictionary.com custom keyword search.

Asa Dotzler has a good write-up on how to use custom keywords.
Ben Goodger has also created a Firefox extension called SmartSearch that adds a Smart Keyword menu in the context menu.
Another convenient feature that boosts your search productivity - searching from the right-click context menu. Select the words you want to search, right-click, then select Search Web for “keyword”. This will perform a search for your keyword on Google.

Don’t like Google? Go to about:config in your Firefox address bar as described in the “Searching from address bar” section and look for the browser.search.defaulturl preference (its value should be “http://www.google.com/search?lr=&ie=UTF-8&oe=UTF-8&q=”). You know what to do! (Hint: read the “Searching from address bar” section.)
Now that you’ve got some search results, you may want to search for occurences of your keyword in a long page. The “Find as you type” function is your savior. Just start typing the word (or words) that you want to find. Firefox will incrementally find and highlight the first instance of the word that matches what you type.

Use F3 or Ctrl-G to do a “Find next”. No need to use the mouse, no need for an extra “Find” dialog that gets in the way! This is one of my favorite Firefox features (this is also in Opera) and I often lapse into simply typing to search for stuff in the occasions when I have to use IE!
The default search bar width is rather small, probably big enough for 20 characters. You can fix this if it bothers you by changing the width by editing your userChrome.css. The userChrome.css file is located in the “chrome” directory in your profile directory. The Firefox Help site has a page explaining how to get to your userChrome.css, if you’re not familiar with where your profile folder is. Once you have your userChrome.css, put this bit in there to increase its relative weight so taht it appears longer:
#search-container {
-moz-box-flex: 350 !important;
}
Firefox 0.9 come withs more features that will improve your search productivity. You’ll be able to drag a bit of selected text into the search bar and perform a search on that text. Firefox 0.9 also includes an auto-complete delete feature where your autocomplete entries can be removed by doing a Shift-delete. Very useful for deleting something you don’t want someone else to come across, without having to clear out your entire history ;)
Another recently added feature is the ability to add smart keywords from form fields. No more messing around with “%s” thingies and what not!
These features have been available in nightly builds for quite some time now, so grab yourself a copy if you want them now. The Burning Edge maintains a watchlist of major bugfixes and regressions, and also links to custom builds (which are professionally packaged and come with processor-specific optimizations).
Chu Yeow is a “moderate”
Mozilla evangelist who writes stuff he finds interesting on
href="http://www.mozilla.org/products/firefox/">Mozilla Firefox
and Mozilla
Thunderbird at redemption in
a blog. Currently employed as a web developer, he’s finding that
the Web Standards utopia may just be a little too far off for our
generation to achieve, beyond the blogosphere at least. He also needs
to stop eating potato chips.
Category: Articles
12 Responses for "Outfox, Outsearch with Firefox"
July 7th, 2004 at 11:54 am
1My Firefox search article gets Slashdotted (by proxy)
Forever Geek was looking for articles not a while back, and I thought, “what the heck” why don’t I just ask Paul Scrivens (Paul is the main Forever Geek guy) if he’d like to publish my old original Outsearch with…
July 7th, 2004 at 6:13 pm
2Handout Printing
July 8th, 2004 at 12:39 pm
3Awesome Firefox Tips
Oh yes! This is exactly what I’ve been looking for. Ever since I’ve started using Firefox instead of Mozilla, I’ve really missed the “type type type down-arrow enter” location bar method of searching Google … instead, Firefox has a separate “search f…
July 8th, 2004 at 4:58 pm
4Easiest way to do searches is to install the Googlebar extension.
July 10th, 2004 at 1:13 pm
5Great tips! Thanks.
July 16th, 2004 at 6:41 am
6For an importable list of my favorite Custom Keywords, check out:
My Custom Keywords Wiki Page
Feel free to contribute. You can also download an importable list from that page!
Enjoy
July 20th, 2004 at 6:58 am
7Thanks about the “Shift-delete” thing cleaning out saved form stuff. I was doing it the stupid way till I read your article LOL Oh, and thanks for showing me how to get rid of the “I’m feeling lucky” garbage.
So, do you not like the MyCrofts? I mostly use my keyworded searches, but I do use some MyCrofts for things I only look up occasionally.
PS to Wormus…Wow what a cool Wiki!
April 11th, 2005 at 2:37 pm
8When you enter a word in Firefox address bar, it does one of two things, a) looks to see if the word is actually a site by adding www.(word).com to it then taking you there if it is true or b) googles the word. I would like to know how I could make Firefox stop doing a) and only do b). Is that possible.?
May 21st, 2005 at 4:15 pm
9Do you know how to search from the address bar with netbux (netbux.com)?
Thanks
October 3rd, 2006 at 7:58 am
10This is simply ultimate!
October 21st, 2006 at 2:14 pm
11THANK YOU THANK YOU THANK YOU — you made it quick & easy!
December 14th, 2006 at 3:30 am
12Thank you! Easy to follow and so powerful.
RSS feed for comments on this post
Leave a reply