Firefox tips: Editing userChrome.css on Linux

Firefox tips: Editing userChrome.css on Linux

The file userChrome.css is located at: ~/.mozilla/firefox/xxxx.default/chrome/userChrome.css

Explanation:
(1) xxxx.default is your default profile name.
(2) just create the directory for chrome if you are creating the userChrome.css file for the first time.
(3) userChrome.css is a pure text file (without the .txt extension).


Therefore, E.g.: To remove the (green bar) visit suggestion after typing an website address at the URL address box, add the following to userChrome.css :-

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#PopupAutoCompleteRichResult richlistitem:first-of-type[type*="heuristic"],
#PopupAutoCompleteRichResult richlistitem:first-of-type[actiontype="searchengine"],
#PopupAutoCompleteRichResult richlistitem:first-of-type[actiontype="visiturl"],
#PopupAutoCompleteRichResult richlistitem:first-of-type[actiontype="keyword"] {
display:none !important;

}

Comments