google feeling lucky

Firefox has the google feeling lucky feature build in. For example, if I type “freebsd amd64″ in the address bar, it will bring me to the FreeBSD amd64 project page, and if I type “fvwm manual” in the address bar, it will bring me to the FVWM manual page.

This is, because when Firefox find out what I type is not an URL (there’s space in it), it will look the string as search keyword and return me the result of the google feeling lucky feature. Most of the time this is what we want.

And to make firefox start this feature, you’ll need to make the input like a search string, or don’t like an URL. For example, if you input “internet”, firefox will add “www.” as prefix and “.com”, “.org”, or “.net” etc as postfix (depending on your settings) and won’t send this to google. Adding two or more kewords seperated by a space is the most comfortable thing. And if you are a Non-English user like me, you can try type in your language. For me, If I type “北京” (The Chinese words for BeiJing, the captial of China), it will bring me to http://www.beijing.gov.cn/. Pretty good match.

And finially, for the tech stuff, according to this page, these two about:config settings are related:

keyword.URL
URL to use for keyword lookups. Default value is http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q= in Firefox 1.0.
keyword.enabled
Determines whether to use keywords True (default): Send non-URLs entered in the Location Bar to the URL specified in keyword.URL False: Disable keywords

So this is on by default. Of cause if you don’t like the feeling lucky feature and want to see the list of search result, you can go and change the URL, or even switch to another search engine. Personaly I have quick search for google bind to “g” so I can archive the search result list by “g fvwm manual” in the address bar, and this combination makes me “feeling lucky” :)

Tags: ,

Post a Comment

You could use <code type="name"> to get your code colorized

Your email is never published nor shared. Required fields are marked *

Close
E-mail It