为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

"Close tab" button on left?

  • 4 个回答
  • 1 人有此问题
  • 65 次查看
  • 最后回复者为 cor-el

more options

Hey, I know this question has been tackled in the past, but I tried following previous guides and none of the code listed in those guides worked with the latest version of firefox (66). I'm a mac user (you guessed it lol) and I wanted to put the "close tab" x button on the left of the tab, and not the right, so that its consistent with the rest of Mac OS.

Does anyone know how to do that, or is there an extension which does this?

Thanks!

Hey, I know this question has been tackled in the past, but I tried following previous guides and none of the code listed in those guides worked with the latest version of firefox (66). I'm a mac user (you guessed it lol) and I wanted to put the "close tab" x button on the left of the tab, and not the right, so that its consistent with the rest of Mac OS. Does anyone know how to do that, or is there an extension which does this? Thanks!

被采纳的解决方案

I solved it! I used this video:

https://www.userchrome.org/how-create-userchrome-css.html

And this code:

.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: -2px !important;
 margin-right: 2px !important;

}

And it works perfectly!!

定位到答案原位置 👍 0

所有回复 (4)

more options

Was the Customize option not working to move it?

more options

The syntax was giving me a bunch of errors everywhere so it wouldn't take. It just didn't do anything. Sorry, I'm not really a coder I'm not sure why it wasn't working per-se, just that it didn't. Maybe the code just needs to be updated? I saw that people recommended chrome user files, and the stylish extension to do it, but I couldn't get it to work. Maybe I did something wrong?

more options

选择的解决方案

I solved it! I used this video:

https://www.userchrome.org/how-create-userchrome-css.html

And this code:

.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: -2px !important;
 margin-right: 2px !important;

}

And it works perfectly!!

more options

Note that this code that moves the close button to the left would be a lot easier:

.tabbrowser-tab .tab-close-button {-moz-box-ordinal-group: 0 !important;}