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

How can I remove the "x" from each tab and make it so a single "right-click" will close the tab instead?

  • 4 respostas
  • 1 tem este problema
  • 1 visualização
  • Última resposta por cor-el

more options

The one feature I use to love about CoolNovo was the ability to Right click a tab to close it, and hide the X button from each tab. I couldn't find any add-ons that did this. I do know how to customize my userChrome.css file, what could I put inside to make these things a feature?

The one feature I use to love about CoolNovo was the ability to Right click a tab to close it, and hide the X button from each tab. I couldn't find any add-ons that did this. I do know how to customize my userChrome.css file, what could I put inside to make these things a feature?

Todas as respostas (4)

more options

Add code to the userChrome.css file below the default @namespace line.


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

.tab-close-button { display:none!important; }

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

Modificado por cor-el a

more options

cor-el said

Add code to the userChrome.css file below the default @namespace line.
@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.tab-close-button { display:none!important; }

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

Okay Great! you answered my X question; Do u have a way for me to allow Right Clicks to close tabs? I found an addon that enables Double Left Click, but im looking for a single right click

more options

Close Tab by Double Click {web link} Allows you to close tabs by double-clicking using the right mouse button.

Rights To Close {web link} Right double-click anywhere on web page to close current tab.

more options

You normally click the mouse wheel to close a tab and leave the right mouse button for the context menu.