Firefox Customization - URL Bar

June 23, 2023

Firefox allows customization of the browser’s look and feel. The userchrome.org has a bunch of content about how to make this change.

  1. See this page for creating a userChrome.css file.
    1. Don’t forget to enable customization by setting toolkit.legacyUserProfileCustomizations.stylesheets configuration to true.
  2. Add content to the userChrome.css file. For example, increasing the size of the URL bar’s font.
#urlbar {font-size: 20pt !important}

How to find more information about what can be tweaked?

You can follow the instructions in the firefox documentation for accessing the Browser Toolbox. This gives you a debug interface similar to the standard developer tools for webpages but for the entire Firefox browser window.

Browser Toolbox Excerpt.

You can look through the XML here to determine what elements are modifiable in the userChrome.css file.

Carl Allendorph is an electrical engineer in San Diego, CA.


2023-06-23