為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Move Close Tab Button To Far Right And Remove From Each Individual Tab

  • 2 回覆
  • 1 有這個問題
  • 28 次檢視
  • 最近回覆由 starkzen

more options

Hi,

How do I move the close tab button off each tab and move it to the far right of the tab bar so it is next to the open new tab "+" button? and remove the 'x' from every individual tab.

This is the way I have always used FF and is extremely helpful for disability issues.

Thanks

Hi, How do I move the close tab button off each tab and move it to the far right of the tab bar so it is next to the open new tab "+" button? and remove the 'x' from every individual tab. This is the way I have always used FF and is extremely helpful for disability issues. Thanks

被選擇的解決方法

You can hide the individual close tab buttons using a custom style rule. However, there is not a built-in way to create a new "close current tab" button at the end of the bar like in the old days. There is an add-on to create a Close Tab Button on the main toolbar, and you can move it to the tab bar. So putting those two things together...

Hiding the Close Tab buttons

To apply custom style rules to Firefox's user interface area, you need to create a userChrome.css file in a particular folder. I created a website to help with this: https://www.userchrome.org/. You probably need to allow 10-15 minutes if it's all new to you; take your time.

Here's the rule:

/* Hide Tab Close buttons */
#tabbrowser-tabs .tab-close-button {
  display: none !important;
  visibility: collapse !important;
}

Close Tab toolbar button

Here's the extension: https://addons.mozilla.org/firefox/addon/close-the-tab-button/

Then use the Customize feature to drag the button to your desired position on the tab bar. I'm attaching a screenshot illustrating what that looks like.

I noticed there are a couple other Close Tab extensions now, so if you don't like the look of this button, you could investigate others.

從原來的回覆中察看解決方案 👍 3

所有回覆 (2)

more options

選擇的解決方法

You can hide the individual close tab buttons using a custom style rule. However, there is not a built-in way to create a new "close current tab" button at the end of the bar like in the old days. There is an add-on to create a Close Tab Button on the main toolbar, and you can move it to the tab bar. So putting those two things together...

Hiding the Close Tab buttons

To apply custom style rules to Firefox's user interface area, you need to create a userChrome.css file in a particular folder. I created a website to help with this: https://www.userchrome.org/. You probably need to allow 10-15 minutes if it's all new to you; take your time.

Here's the rule:

/* Hide Tab Close buttons */
#tabbrowser-tabs .tab-close-button {
  display: none !important;
  visibility: collapse !important;
}

Close Tab toolbar button

Here's the extension: https://addons.mozilla.org/firefox/addon/close-the-tab-button/

Then use the Customize feature to drag the button to your desired position on the tab bar. I'm attaching a screenshot illustrating what that looks like.

I noticed there are a couple other Close Tab extensions now, so if you don't like the look of this button, you could investigate others.

more options

Thanks for your help, much appreciated. It did the job quite nicely.

I really miss the easy customizable features of Classic Theme Restorer, I wish it was avaialable with the current build. There are so many customizations to my layout I have to re-figure out again.

Cheers!