Changing autocomplete behavior - Firefox
From MozillaZine Knowledge Base
(Redirected from Disabling autocomplete (Firefox))
The Location Bar (also called the URL or address bar), the Search Bar, and some form fields on web pages have autocomplete dropdowns that appear with a list of previously-entered data. Starting in Firefox 14, as you type URLs into the Location Bar, Firefox also automatically completes the URL (called "inline autocomplete") in addition to the drop-down autocomplete list.
In Firefox 3 and above, when you start typing into the Location Bar, the autocomplete drop-down will show matching sites from your browsing history and bookmarks. You can modify or disable the display of autocomplete entries in the Location Bar, as explained below.
Changing Location Bar autocomplete behavior
As you type into the Location Bar, the default behavior is to display all results from both bookmarked items and your browsing history of visited pages in a drop-down list. (This feature is often called the "Awesome Bar"). You can change Location Bar autocomplete behavior in "Tools -> Options -> Privacy / Location Bar" by selecting one of the options in the "When using the location bar, suggest:" drop-down menu:
Selecting "Nothing" sets the preference browser.urlbar.autocomplete.enabled to false and completely disables Location Bar autocomplete. This also disables inline autocomplete in Firefox 14 and above. 
Selecting "History and Bookmarks", "History", or "Bookmarks" enables autocomplete (if disabled) and sets a corresponding value in the preference browser.urlbar.default.behavior.
As long as autocomplete is enabled, you can also change autocomplete Location Bar behavior using about:config, by changing the browser.urlbar.default.behavior preference value . For example, setting the value to 1 restricts results to visited pages in history, setting the value to 2 restricts results to bookmarked items, and resetting the preference restores the default value 0 (no filtering). You can also restrict autocomplete results to tagged items (value = 4) or to typed items (value = 32) or you can match only the title (value = 8) or the URL (value = 16). You can also add filters together in various combinations, such as setting the value to 3 (1+2) to display only visited bookmarks; or, setting the value to 17 (1+16) to display only visited pages with a URL match; or, setting the value to 49 (1+16+32) to display only visited pages with a URL match for typed items. See the article browser.urlbar.default.behavior for more information. 
Related bug reports