Firefox – How to disable searching and domain guessing from the Firefox Address Bar, while keeping other features

firefox

I used to know how to configure this, but I can't seem to find it again. Here are some special features I would like to keep in the Address Bar, and some I would like to disable:

  • To Keep:

    • Bookmark "keyword" functionality. (i.e.: "go searchterm" = http://www.google.com/search?&q=searchterm)
    • Bookmark and History searching. (i.e.: "SuperUser" will display suggestions for the SuperUser homepage from my bookmarks, and SuperUser threads from my history.)
  • To Disable:

    • URL Bar Web Searches. (i.e.: "SearchTerm" will take me to a Google page with results for SearchTerm.)
    • TLD Guessing. (i.e.: "superuser" will turn into "superuser.com")

What defaults do I need to change so that the options I want kept remain available, while still turning off those I want disabled?

I'm currently running Firefox 10.

Best Answer

Go to about:config and set the following preferences to false:

browser.fixup.alternate.enabled

True (default): Try to fix up http://foo to http://(prefix)foo(suffix)
False: Do not second-guess the user

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

Where the documentation for keyword.URL says this :

URL to use for keyword lookups. Default value in Firefox 2.0 is
http://www.google.com/search? ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=