MozillaZine

Changing autocomplete behavior - Firefox

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 22:02, 27 February 2005
Asqueella (Talk | contribs)
(Use proper terms and wiki markup)
<-- Previous diff
Revision as of 22:33, 27 February 2005
Asqueella (Talk | contribs)

Next diff -->
Line 1: Line 1:
-==Disabling Location and Search Bar autocomplete==+The [[Location Bar]], the [[Search Bar]] and some form fields on web pages have autocomplete dropdowns that appear with a list of previously entered data. To remove them, you will need to [[Firefox : FAQs : Edit_Config | edit your config files]].
-The [[Location Bar]] and [[Search Bar]] both have autocomplete dropdowns that appear with a list of previously entered data. To remove them, you will need to [[Firefox : FAQs : Edit_Config | edit your config files]].+ 
 +: ''Note that this is not a clean solution, it will cause some errors appear in JavaScript Console and may cause the browser to malfunction.''
In <code>userChrome.css</code>, add the following lines: In <code>userChrome.css</code>, add the following lines:

Revision as of 22:33, 27 February 2005

The Location Bar, the Search Bar and some form fields on web pages have autocomplete dropdowns that appear with a list of previously entered data. To remove them, you will need to edit your config files.

Note that this is not a clean solution, it will cause some errors appear in JavaScript Console and may cause the browser to malfunction.

In userChrome.css, add the following lines:

/* Remove autocomplete dropdown */
#PopupAutoComplete > .autocomplete-tree { display: none !important; }

If you also want to remove the dropdown button at the far right of the Location Bar, add the following line:

.autocomplete-history-dropmarker { display: none !important; }

You may want to enable inline autocomplete instead.