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

搜尋 Mozilla 技術支援網站

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

了解更多

How do you make the X button to close tabs visible on mouse over?

  • 7 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 cor-el

more options

How do you make the X button to close a tab visible when you mouse over the tab? I have a lot of tabs and the X button is not always visible. I want the button to be visible when i mouse over a tab.

How do you make the X button to close a tab visible when you mouse over the tab? I have a lot of tabs and the X button is not always visible. I want the button to be visible when i mouse over a tab.

所有回覆 (7)

more options

Hi   !

When you have a lot of tabs, the closing X takes up too many pixels. You could (for now) consider this add-on :

https://addons.mozilla.org/en-US/firefox/addon/classicthemerestorer/

But would you also take a look at this article, please :

https://www.ghacks.net/2014/04/30/mozilla-removes-tab-close-button-preference-firefox/

more options

Hi, you could instead, type about:config into the address bar, press Enter, accept the warning, scroll down to browser.tabs.tabClipWidth then right click > Modify, and change the number from 140 to something lower - try 80. Then restart Firefox.

more options

Scribe said

Hi, you could instead, type about:config into the address bar, press Enter, accept the warning, scroll down to browser.tabs.tabClipWidth then right click > Modify, and change the number from 140 to something lower - try 80. Then restart Firefox.

Ive tried changing it to all kinds of numbers and restarted firefox each time, but did not notice anything different. I even tried 0.

more options

Happy112 said

Hi   ! When you have a lot of tabs, the closing X takes up too many pixels. You could (for now) consider this add-on : https://addons.mozilla.org/en-US/firefox/addon/classicthemerestorer/ But would you also take a look at this article, please : https://www.ghacks.net/2014/04/30/mozilla-removes-tab-close-button-preference-firefox/

Well classic theme restorer does allow you to display the close button always, but not when you mouse over the tab. Is that possible?

more options

Question2 said

Ive tried changing it to all kinds of numbers and restarted firefox each time, but did not notice anything different. I even tried 0.

Note that Firefox hides the close button on inactive tabs if there are enough tabs open to make them shrunk below a specific minimum.

http://kb.mozillazine.org/browser.tabs.tabClipWidth

more options

Question2 said

Well classic theme restorer does allow you to display the close button always, but not when you mouse over the tab. Is that possible?

No,   mouse over the tab won't display the close button,   but   (as you undoubtedly already know) when you click at the end of the tab you want to close, the tab   will   close.

For now Classic Theme Restorer would be the closest thing to what you want, I'm afraid. But still : when you use many tabs, the width will decrease, which leaves little room for text. Adding a close button will take up even more room at the expense of the text.

more options

You can middle-click a tab with the mouse scroll wheel to close the tab. I prefer this to avoid closing a tab accidentally when you click a tab to select the tab and it gives the most space for the tab label.