How-To

How to Restore “I’m Feeling Lucky” Functionality to the Firefox 4 Address Bar

Firefox 4 - Bring back "I'm Feeling Lucky" address barThe new Firefox 4 has turned the address bar into an omnibar that works just like Chrome’s.  In previous versions of Firefox the address bar would return results using Google’s “I’m Feeling Lucky” when you typed in certain keywords.  If you prefer the way Firefox previously handled searches made in the address bar, there are two different ways to fix that.

 

The easiest way to bring back the old address bar search functionality is to install a plug-in that will do it for you.  But, if you aren’t afraid of messing with the Firefox config file you can also customize it without installing anything.   Click a jump link below to jump to the instructions for that method.

Either way you’ll get the same results, so the decision is entirely up to you.

How to Use the Luckybar Extension to Bring Back “I’m Feeling Lucky”

The extension is safe and it gets the job done without any editing of Firefox’s settings.  Source code for the Luckybar extension is available at https://github.com/fwenzel/luckybar.

When you install it, it will automatically set Firefox to use the old address bar functionality.  And when you uninstall or disable Luckybar it will set Firefox back to default.

Step 1

Visit the LuckyBar extension page: https://addons.mozilla.org/en-us/firefox/addon/luckybar/.  Click the Add to Firefox button.firefox 4 luckybar install website

Step 2

A small dialog box will appear, wait for the install timer to reach 0 and then Click Install.

firefox 4 extension install prompt

How to Modify the Firefox Config to Enable “I’m Feeling Lucky”

Step 1

Type about:config into the address bar.  The “This might voide your warrant!” warning window will appear, just Click I’ll be careful, I promise!

about:config firefox 4

Step 2

On the Filter line, Type in keyword.url to show the preference we are looking for. 

In the list below, Right-Click keyword.URL and Select Modify.

firefox 4 keyword.url

Step 3

Clear out the old contents of the text box, and now we’ll paste in the new one shown below:

  • Hybrid I’m Feeling Lucky (this is what the LuckyBar plugin uses)
    This URL will display search results by keyword.  This means that if you Type in “Amazon Fresh, it will take you to amazonfresh.com. But, if you type in something too vague, it will instead take you to a Google search results page.
https://www.google.com/search?ie=UTF-8&oe=UTF-8&rls=org.mozilla:en-US:official&client=firefox-a&sourceid=navclient&gfns=1&q=

  • Raw I’m Feeling Lucky

    This URL will take you to the I’m Feeling Lucky result regardless of accuracy.  It’s the same as being taken to website that is at the top of Google’s search results when you perform a normal serach.
https://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=

Once you’ve entered the new URL, Click OK.

 Firefox 4 string value edit

Done!

Now you’ve brought back the old Firefox 3.6 style “I’m Feeling Lucky” search to the Firefox address bar.  Changes should take place immediately whether you’ve used the Config file or the plugin; you won’t need to restart Firefox at all.  If you ever want to go back or customize the search provider that the address bar uses, see the instructions for that here.

Firefox 4 I'm feeling lucky search

14 Comments

14 Comments

  1. LukeW

    March 29, 2011 at 7:12 pm

    Thanks!

  2. Faizan YM

    April 1, 2011 at 3:10 am

    Thanks x2 !!

  3. Alex

    April 2, 2011 at 9:51 am

    Thank you so much! That’s genius!

  4. linlin

    April 4, 2011 at 6:43 am

    That’s one useful post, thanks !

  5. ed

    April 8, 2011 at 10:18 am

    can’t thank you enough!

  6. Nic

    May 27, 2011 at 1:47 pm

    What a bloody great article. Thank you so much.
    One of Firefox’s best features that seemingly disappeared for good until you guys came along.

  7. Pete

    May 31, 2011 at 6:39 am

    THank you very very much man. just faved your blog.

  8. Aaron

    September 26, 2011 at 5:18 pm

    Thanks so much! Glad to have it back!

  9. view the blog

    April 18, 2012 at 10:36 pm

    Its like you read my mind! You appear to understand a lot about this, like you wrote the guide in it or something. I think that you simply can do with a few p.c. to force the message house a bit, but other than that, this is great blog. A great read. I’ll definitely be back.

  10. Zoffix Znet

    April 22, 2012 at 2:53 pm

    Thanks. Not sure why they keep removing useful features from Firefox…. I guess they run out of features to add, but just want to increase version numbers.

  11. jovonneb

    June 9, 2012 at 5:47 pm

    I have to bookmark this site, because my other programs keep changing my default search engine!

    Thanks!

  12. Pan Fanky

    July 20, 2012 at 5:37 am

    Great! Thanks

  13. Love

    August 2, 2012 at 1:47 am

    Thanks from Bulgaria!

  14. faruk

    October 23, 2014 at 4:15 pm

    now that function doesn’t exist on firefox :(

Leave a Reply

Your email address will not be published. Required fields are marked *

 

To Top