On Monday September 25th from 10PM EDT - 12AM EDT (2AM UTC - 4AM UTC on September 26th), we will be performing system maintenance on the Firefox Accounts databases for two hours. During the maintenance window, there will be brief periods of a few minutes where users will not be able to login to their accounts. Please try again at a later time.

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".

Learn More

How to hide the tab bar?

  • 2 respostas
  • 0 têm este problema
  • 42 visualizações
  • Última resposta por psusi

more options

I've been searching for a way to hide the tab bar and reclaim that space. Some sources on the web set to change some settings in about:config and edit userChrome.css, but this did not work. This question links to an add-on to do it, but the link is broken:

https://support.mozilla.org/en-US/questions/1331617

I've been searching for a way to hide the tab bar and reclaim that space. Some sources on the web set to change some settings in about:config and edit userChrome.css, but this did not work. This question links to an add-on to do it, but the link is broken: https://support.mozilla.org/en-US/questions/1331617

Todas as respostas (2)

more options

Add CSS code to the userChrome.css file in the chrome folder in the Firefox profile folder. You may have to hide the "List all tabs" button.


/* TAB BAR - HIDE ONE Tab [110+] - DO NOT use tabs below #nav-bar */
#tabbrowser-tabs .tabbrowser-tab:only-of-type,
#tabbrowser-tabs .tabbrowser-tab:only-of-type + #tabbrowser-arrowscrollbox-periphery{
  visibility: collapse !important;
}
#tabbrowser-tabs, #tabbrowser-arrowscrollbox {min-height:0!important;}
#TabsToolbar:not(:hover) #alltabs-button {display:none !important;}

More info about userChrome.css/userContent.css in case you are not familiar: *https://www.userchrome.org/what-is-userchrome-css.html

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

Útil?

more options

So that is almost the same advice I had already found and tried. Your CSS is slightly different and the other sources suggested setting several other settings in about:config, besides that one. It still doesn't work though. I'm on firefox 113. How can I verify that firefox is even using the css file?

Útil?

Colocar questão

Deve iniciar a sessão com a sua conta para responder às mensagens. Por favor, comece uma nova pergunta, se ainda não tiver uma conta.