You can change the density of Firefox's UI in about:config by setting "browser.uidensity" between 0 to 2, and it applies immediately!
![](https://lemmy.ml/pictrs/image/u9kB0kgEaN.png)
![](https://lemmy.ml/pictrs/image/728e0d84-a31a-4b85-80ba-62f623f0b23b.png?format=jpg&thumbnail=256)
Crossposted another Reddit user's post: https://reddit.com/r/firefox/comments/1dso5sz/easy_trick_to_make_firefox_compact_1_in_firefoxs/
Bad title. Settings that actually do something are 0 (normal), 1 (compact) and 2 (touch). You can also do that in settings, I think.
Yep, pretty easy to test, too.
4
and5
produce the same effect as0
, meaning that it just uses that as a default for values it doesn't understand.You can, it’s nothing new
For the more advanced, you can also mess around with the userChrome.css file. To create it open a text editor and save the file as userChrome.css in the \Chrome folder in your Firefox profile folder* (make sure to restart Firefox to apply the changes)
To enable the file, enter about:config in the address bar, then accept the warning if it appears. Search for
toolkit.legacyUserProfileCustomizations.stylesheets
and double-click it to set it totrue
.*enter
about:support
in the address bar, or click on the Help menu > More Troubleshooting Information, then scroll to the Profile Folder line and click on Open Folder. Usually it'sC:\Users\~USERNAME~\AppData\Roaming\Mozilla\Firefox\Profiles\~PROFILENAME~
*Note: the first 2 lines about tab height might not work if you don't have the Playing/Muted text line in tabs disabled. To disable that line go to about:config, search for
browser.tabs.secondaryTextUnsupportedLocales
, and add,en
(or the relevant language that you're using in your system) at the end of the value for it then click Enter and restart Firefox to apply the change.Here's the userChrome I use (compiled from different sources)
So it's like
userChrome.CompactContextMenu-Enabled
set totrue
but without going to Customize Toolbar Panel to enable it.