搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Hide Navigation Toolbar in userChrome.css

more options

I am having problems hiding the Navigation Toolbar in userChrome.css.

I am trying to achieve the same as the menu clicks View -> Toolbars -> [uncheck] Navigation Toolbar.

If I add #navigator-toolbox { display: none } to userChrome.css then everything disappears, including the tabs and menu. If I use the following then there remains a blank bar, about half the size of the tab bar.

#searchbar, #urlbar, .toolbarbutton-1, .toolbarbutton-menubutton-button { display: none }

I am having problems hiding the Navigation Toolbar in userChrome.css. I am trying to achieve the same as the menu clicks View -> Toolbars -> [uncheck] Navigation Toolbar. If I add <code>#navigator-toolbox { display: none }</code> to userChrome.css then everything disappears, including the tabs and menu. If I use the following then there remains a blank bar, about half the size of the tab bar. <code><pre> #searchbar, #urlbar, .toolbarbutton-1, .toolbarbutton-menubutton-button { display: none } </code></pre>

由 Jamie Kitson 於 修改

被選擇的解決方法

It's called nav-bar

#nav-bar { display: none }

從原來的回覆中察看解決方案 👍 1

所有回覆 (1)

more options

選擇的解決方法

It's called nav-bar

#nav-bar { display: none }