Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Learn More

Way to remove/hide back and forward button in tool bar?

  • 4 respostas
  • 1 tem este problema
  • 72 visualizações
  • Última resposta de sillyputty1967

more options

Hi all,

Is there a way to hide both the back and forward buttons in the toolbar on macOS Firefox 66.0.2 (64-bit)? As it is, customizing toolbars does not allow their removal.

Hi all, Is there a way to hide both the back and forward buttons in the toolbar on macOS Firefox 66.0.2 (64-bit)? As it is, customizing toolbars does not allow their removal.

Solução escolhida

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 */

#back-button, #forward-button { display:none!important; }

Ler esta resposta 👍 0

Todas as respostas (4)

more options

You can't remove them as your asking the only. The only change is using a "userChrome.css" to make any modifications.

more options

How do I make modifications to userChrome.css?

more options

Solução escolhida

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 */

#back-button, #forward-button { display:none!important; }

more options

This code worked for me:

@-moz-document url(chrome://browser/content/browser.xul) {

 /* Your style rules for the user interface go here */
  1. back-button, #forward-button { display: none; }

}