Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

How to get the 'x' close button by hovering over unselected tabs.

  • 14 réponses
  • 9 ont ce problème
  • 3 vues
  • Dernière réponse par cor-el

more options

I miss being able to close tabs without having to select them first. Is there a way to get the old functionality back of having the 'x' close button appear with mouse-over?

I miss being able to close tabs without having to select them first. Is there a way to get the old functionality back of having the 'x' close button appear with mouse-over?

Solution choisie

You could try right-clicking which gives you a menu that lists a 'close tab' option.

Lire cette réponse dans son contexte 👍 2

Toutes les réponses (14)

more options

By default the Close buttons appear on all tabs.

  1. Type about:config into the address bar and press Enter.
  2. Press the big button to bypass the warning.
  3. In the search bar, paste browser.tabs.closeButtons
  4. In the search results, double-click browser.tabs.closeButtons and set its value to 1

If you want to hide the Close button on inactive tabs and show it only on mouseover,
1. Install the Stylish add-on.

2. Open the Add-ons Manager, User Styles category and click the Write a New Style link at the top.
3. Paste the following in the style editor box and click the Save button.


@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

.tabbrowser-tab:not([selected]) .tab-close-button {
  visibility: hidden !important
}

.tabbrowser-tab:not([selected]):hover .tab-close-button {
  visibility: visible !important
}

If I'm not mistaken, this is also an option in the Tab Mix Plus add-on.

more options

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

more options

Solution choisie

You could try right-clicking which gives you a menu that lists a 'close tab' option.

more options

The easiest way to close a tab is to middle-click the tab with the mouse scroll wheel.

more options

Thanks for all your help, everyone!

more options

In about:config change the value of browser.tabs.tabClipWidth to 50.

more options

You said by default the close button appears on all tabs. Well, now it doesn't. It's been moved to one singular close button on the right that does nothing but slow the work process down.

How do I get a close button to appear on each tab again?

more options

Sounds that the browser.tabs.closeButtons pref has been changed to 3, see:

more options

Thank you for your reply.

However, I did the about:config thing, and the value for Browser.tabs.closeButtons was already set on 1, which is the default, which should display a button on each tab. I've enclosed a screen shot.

I don't know why this went sideways. FF asked for an update a couple of nights ago, so I let it do the update and then shut it down, because I was done for the night. When I turned it on the next day, that's when the problem appeared, and I hate this browser more and more every day it stays this way.

What else can I try?

more options

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).

  • Do NOT click the Reset button on the Safe Mode start window.
more options

Thank you so much for showing me how to troubleshoot this.

The problem was the "Hide Tab Bar With One Tab 1.2beta" extension. I disabled that, but now I have that annoying single tab when it's the only one open.

Is there a way to resolve that, please?

more options

Install the latest update (beta 3) of the extension.

more options

You are an absolute genius! Everything is working perfectly again. Thank you so much for all your time today!

I'm back in love with FireFox!

more options

You're welcome.