This has been asked before but none of other methods are working now.

Previously we were able to set Address Bar search or Search Bar to I'm Feeling Lucky, but Firefox has put a limit on those ways.

Is there any way now to add Google's I'm Feeling Lucky to Firefox's Search Bar or Address Bar?

I search a lot and 99% of the times I want the first result, while this might look being lazy for a click, I estimated that it is actually taking hours of my time monthly.


The URL for Google's "I'm Feeling Lucky" button is https://google.com/search?btnI=&q=%s (where %s is your search term).

The icon used is http://www.google.com/favicon.ico

Knowing these two, all you need to do is to construct your own OpenSearch XML plugin. Now you can do this manually of course, but there are sites that can do the work for you so why not use those?

One such site is Ready2Search. I already made the plugin for you. If you want to review or modify it just go here. To install the plugin in IE, Firefox or Chrome, just click the link that says "OpenSearch plug-in GoogleLucky" (to the right of the 3 browser icons). If you want to view the generated XML, click the "Download the setting of OpenSearch" button.


  • Thanks for being so awesome, I wasn't hoping for any replies at all, but yours fixed my issue in 5 sec :) wish you the best in life. – Ara Jun 1 '15 at 22:29
  • You're most welcome. :) – Karan Jun 1 '15 at 22:43

In Firefox, you can use the keyword search feature. Create a bookmark like this:

I'm Feeling Lucky Quicklink

Then in the URL bar, you can type gl your search query to be taken to the "I'm Feeling Lucky" results for "your search query".

  • what is this feature called? (replacing %s with argument) are there other placeholders available? thank you! – Nasser Torabzade Nov 21 '16 at 6:09
  • Apparently it's called "keyword search"; link added in answer. – Matt McHenry Nov 23 '16 at 1:43

Save the following to a file 'googlefeelinglucky.xml' and place it in "%APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.default\searchplugins"

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<Description>Google's I'm Feeling Lucky Search</Description>
<Image height="16" width="16" type="image/x-icon">http://www.google.com/favicon.ico</Image>
<Url type="text/html" method="get" template="https://www.google.com/search?btnI&amp;q={searchTerms}"></Url>
<Url type="application/x-suggestions+json" template="http://suggestqueries.google.com/complete/search?output=toolbar&amp;hl=en&amp;q={searchTerms}&amp;gl=ca"/>

If you don't want to do that, you can just click on the Google (I'm Feeling Lucky) link here:


Creating Mozilla Search Plugins:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.