Firefox 6.0 introduced URL formatting in the address bar, i.e. the domain.tld is black, while protocols, subdomains, and paths are grey. The related about:config entry to enable/disable this feature is browser.urlbar.formatting.enabled
. I would like to customize these elements. For example, instead of different colors, make the domain boldface.
My research has only led me to discussions on how to disable this feature, as this was a controversial change in interface. Am I the first person to think of this?
I've inspected the DOM for related CSS selectors, but did not find any attributes specific to the domain or other parts. I also looked through the various XML files (e.g. chrome://browser/content/urlbarBindings.xml#urlbar
), but I do not know JavaScript.
I've pasted the related XML/JavaScript code here: http://pastie.org/3122111