Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 4 ответа
  • 1 имеет эту проблему
  • 86 просмотров
  • Последний ответ от 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.

Выбранное решение

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; }

Прочитайте этот ответ в контексте 👍 0

Все ответы (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

Выбранное решение

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; }

}