Go to about:config
and set toolkit.legacyUserProfileCustomizations.stylesheets
to true
Add userChrome.css to ~/Library/Application Support/Firefox/Profiles/<PROFILE_ID>/chrome/userChrome.css
Ref:
- https://developer.mozilla.org/en-US/docs/Tools/Browser_Toolbox
- https://support.mozilla.org/en-US/questions/1157451
- https://www.ghacks.net/2019/05/24/firefox-69-userchrome-css-and-usercontent-css-disabled-by-default/
- https://superuser.com/questions/1495834/is-a-left-side-tab-close-button-in-firefox-possible
History:
- 2022-03-01: Updated for Firefox v98
For Linux 🐧 users - you can find the profile directory by following this mozilla's guide (usually
~/.mozilla/firefox/PROFILE_ID/
)cd
there and then justmkdir chrome && touch chrome/userChrome.css
to create the userChrome file.