How to add Google's "I'm Feeling Lucky" Search to firefox?
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.
Enjoy!
In Firefox, you can use the keyword search feature. Create a bookmark like this:
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".
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/">
<ShortName>FeelingLucky</ShortName>
<Description>Google's I'm Feeling Lucky Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<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&q={searchTerms}"></Url>
<Url type="application/x-suggestions+json" template="http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q={searchTerms}&gl=ca"/>
<SearchForm>https://www.google.com/search</SearchForm>
</SearchPlugin>
If you don't want to do that, you can just click on the Google (I'm Feeling Lucky) link here:
http://mycroftproject.com/dlstats.html
Creating Mozilla Search Plugins:
https://developer.mozilla.org/en-US/docs/Creating_MozSearch_plugins