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!

搜尋 Mozilla 技術支援網站

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

了解更多

How can I completely remove the bar above the URL bar? I don't need to see horizontal tabs or the Close/Minimize/Restore buttons.

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 tailonfire

more options

How can I completely remove the bar above the URL bar? I don't need to see horizontal tabs or the Close/Minimize/Restore buttons.

I can close/minimize/restore by right-clicking the Firefox box on my Linux Mint's bottom panel.


My userChrome.css looks like this:

/* Hide horizontal tabs at the top of the window */
#tabbrowser-tabs {
  visibility: collapse !important;
}

#titlebar {
  visibility: collapse;
}


#tabbrowser-tabs { visibility: hidden !important; }
tab { display: none !important; }

#sidebar-header {
  visibility: collapse !important;
}
How can I completely remove the bar above the URL bar? I don't need to see horizontal tabs or the Close/Minimize/Restore buttons. I can close/minimize/restore by right-clicking the Firefox box on my Linux Mint's bottom panel. My userChrome.css looks like this: <pre><nowiki>/* Hide horizontal tabs at the top of the window */ #tabbrowser-tabs { visibility: collapse !important; } #titlebar { visibility: collapse; } #tabbrowser-tabs { visibility: hidden !important; } tab { display: none !important; } #sidebar-header { visibility: collapse !important; }</nowiki></pre>
附加的畫面擷圖

由 cor-el 於 修改

被選擇的解決方法

This line of code does the trick!

#titlebar {
display: none !important;
}
從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

Hi tailonfire, please use <pre> tags around your code so the forum software doesn't think you are giving it formatting instructions.

My userChrome.css looks like this:
/* Hide horizontal tabs at the top of the window */
#tabbrowser-tabs {
  visibility: collapse !important;
}

#titlebar {
  visibility: collapse;
}

/* visibility: collapse is better, so remove this */
#tabbrowser-tabs { visibility: hidden !important; }

tab { display: none !important; }

#sidebar-header {
  visibility: collapse !important;
}

Perhaps you also need to suppress the New tab button and the All tabs list button. I don't know about the standard OS buttons. Linux works differently than Windows.

If you don't get the full recipe here, try:

https://www.reddit.com/r/FirefoxCSS/

more options

選擇的解決方法

This line of code does the trick!

#titlebar {
display: none !important;
}

由 tailonfire 於 修改