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
@valrus I tested your solution before, but the tab title wiggles a little to left when i hover over the tab icon. I do not understand all these css's. Yesterday i finally fix it. I adjusted the left margin of tab close button to
-2px
, and the text no longer wiggles. Thank you.This is now my file content: