Skip to content
Adam Katz edited this page Dec 10, 2019 · 9 revisions

Welcome.

For now, the tweaks will live here on this wiki and will be divided topically.

Firefox profiles live in different places based on your operating system (see also the official documentation).

  • Linux: ~/.mozilla/firefox/
  • Mac OS: ~/Library/Mozilla/Firefox/Profiles/
    or ~/Library/Application Support/Mozilla/Firefox/Profiles/
    or ~/Library/Application/Support/Firefox/Profiles/
  • Windows: C:\Users\{USERNAME}\AppData\Roaming\Mozilla\Firefox\Profiles\

The profile directory is contained in the above directory and is named with a random 8-character string, a dot, and then the profile name, such as mjao7jgs.default. Go there and create a sub-directory called chrome (which may already exist) and within that, a userChrome.css file (which may already exist).

For example, on Linux, this file might be:
/home/adamhotep/.mozilla/firefox/mjao7jgs.default/chrome/userChrome.css

The top of this file (perhaps after some CSS comments), declare the XUL namespace:

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

⚠ As of Firefox 69+, you need to enable this mechanism. Browse to about:config (accept the risk if prompted) and search for toolkit.legacyUserProfileCustomizations.stylesheets then set it to true

Here are a few tweaks that I can't live without:

More information:

Clone this wiki locally