MozillaZine

Changing autocomplete behavior - Firefox

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 04:50, 16 April 2005
Asqueella (Talk | contribs)

<-- Previous diff
Revision as of 14:28, 19 September 2005
Asqueella (Talk | contribs)
(category)
Next diff -->
Line 1: Line 1:
-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]], 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 [[Editing configuration | edit your config files]].
''Note that this is not a clean solution. It will cause some errors appear in the [[JavaScript Console]] if you have [[Dev : Useful prefs | chrome errors enabled]] and may cause the browser to malfunction.'' ''Note that this is not a clean solution. It will cause some errors appear in the [[JavaScript Console]] if you have [[Dev : Useful prefs | chrome errors enabled]] and may cause the browser to malfunction.''
Line 9: Line 9:
If you also want to remove the dropdown button at the far right of the Location Bar, add the following line: 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; } .autocomplete-history-dropmarker { display: none !important; }
- 
You may also want to enable [[inline autocomplete]]. You may also want to enable [[inline autocomplete]].
 +
 +[[Category:Visual customizations (Firefox)]]

Revision as of 14:28, 19 September 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 the JavaScript Console if you have chrome errors enabled 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 also want to enable inline autocomplete.