Update Friday, December 31, 2021:
Ok, maybe this solution is pretty alright (via). I’ve updated the code in this post with that.
Update Thursday, June 3, 2021:
With the new version of Firefox, it’s probably no longer worth fighting the non-Mac right-side close buttons. Oh well.
As a good and loyal Mac user, I know that the little button to close a tab (or window or modal dialog, etc.) should be on the left, not the right. Here’s how you can make Firefox a little less ugly.
about:support
.chrome
.userChrome.css
in that new folder..tabbrowser-tab .tab-throbber,
.tabbrowser-tab .tab-icon-image,
.tabbrowser-tab .tab-sharing-icon-overlay,
.tabbrowser-tab .tab-icon-overlay,
.tabbrowser-tab .tab-label-container,
.tabbrowser-tab .tab-icon-sound {
-moz-box-ordinal-group: 2 !important;
}
.tabbrowser-tab .tab-close-button {
margin-left: -5.5px !important;
margin-right: 3px !important;
}
.tabbrowser-tab:not([pinned="true"]):hover .tab-close-button {
display: -moz-box !important;
}
.tabbrowser-tab:not([pinned="true"]):hover .tab-icon-image,
.tabbrowser-tab:not([pinned="true"]):hover .tab-throbber {
display: none;
}
.tab-close-button {
display: none;
}
about:config
userprof