搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改