Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Esta discussão foi fechada e arquivada. Se precisar de ajuda, por favor, coloque uma nova questão.

Disable middle click tab bar

  • 12 respostas
  • 1 tem este problema
  • 1 visualização
  • Última resposta por Red

more options

Why is this a feature without the option to disable when none of the other browsers has this feature?

It's really annoying trying to close a tab only to open a new one again because you middle clicked on the empty portion of the tab bar.

Why is this a feature without the option to disable when none of the other browsers has this feature? It's really annoying trying to close a tab only to open a new one again because you middle clicked on the empty portion of the tab bar.

Solução escolhida

Try:

#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

Ler esta resposta no contexto 👍 1

Todas as respostas (12)

more options

Screenshot of the problems your referring to?

more options

Here's a GIF to show what I'm talking about.

more options

That is how about middle-clicking on the Tab bar works. I'm not aware of a way to disable it or if there is an extension that adds this feature. You could keep that many tabs open that the entire Tab bar is filled with tabs.

more options

The issue is that there should at least be an option to disable this feature seeing as other browsers such as Chrome, and Edge does not have this.

There was a CSS tweak to disable this, but the recent update caused the tweak to stop working.

more options

ZetiX said

... There was a CSS tweak to disable this, but the recent update caused the tweak to stop working.

If you would post that CSS tweak here we may learn something.

more options
  1. tabbrowser-tabs .scrollbox-innerbox{pointer-events: none}

.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

Here's the PasteBin link , the forum formats the text.

Modificado por ZetiX a

more options

Solução escolhida

Try:

#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

Modificado por cor-el a

more options

cor-el said

Try:
#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

This worked! Thanks so much!

more options

cor-el said

Try:
#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

How do I try this? I went into \AppData\Roaming\Mozilla\Firefox\Profiles\

Then I made a folder named 'chrome' and put a userChrome.css in it, with only those two lines in it but I still get a new tab if I MM click the tab bar's empty space.

more options

You have to create the chrome folder inside the xxxxx.default folder, then create the userChrome.css with those 2 lines.

more options

Yep, that did it. Thanks kindly, ZetiX.