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
@int-369 @fossilet Here's a fixed version (for me) that replaces favicons with close buttons on hover on Firefox >113:
This explanation in a Reddit thread helped me figure out what to change (tl;dr
-moz-box-ordinal-group
and-moz-box
have been replaced with standard flexbox css)