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!

搜索 | 用户支持

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

Learn More

Can one hide the Minimize button on the header bar.

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Gpx45

more options

Hello everyone, I'm working on customizing the Firefox experience for users within my organization.

I have to really limit their access. One of those requests were to prevent users from minimizing their active Firefox window.

I've found articles like the one below that show how to hide all the buttons: https://support.mozilla.org/en-US/questions/906698

However it does not suit the purpose. since it removes all of them and only on full screen.

Is there a way I can just hide the minimize button so that the user can just hide the minimize button?

Any help would be greatly appreciated.

Hello everyone, I'm working on customizing the Firefox experience for users within my organization. I have to really limit their access. One of those requests were to prevent users from minimizing their active Firefox window. I've found articles like the one below that show how to hide all the buttons: https://support.mozilla.org/en-US/questions/906698 However it does not suit the purpose. since it removes all of them and only on full screen. Is there a way I can just hide the minimize button so that the user can just hide the minimize button? Any help would be greatly appreciated.

被采纳的解决方案

Note that even if you hide the buttons (what you may be able to do via userChrome.css if the title bar is hidden and the buttons appear on the Tab bar) this likely still leaves the system menu (Alt+Space) to access these items.


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

.titlebar-min {display:none!important;}
.titlebar-max {display:none!important;}
.titlebar-restore {display:none!important;}
.titlebar-close {display:none!important;}

定位到答案原位置 👍 1

所有回复 (2)

more options

选择的解决方案

Note that even if you hide the buttons (what you may be able to do via userChrome.css if the title bar is hidden and the buttons appear on the Tab bar) this likely still leaves the system menu (Alt+Space) to access these items.


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

.titlebar-min {display:none!important;}
.titlebar-max {display:none!important;}
.titlebar-restore {display:none!important;}
.titlebar-close {display:none!important;}

more options

Thank you for this solution, it worked phenomenally after I restarted the user session. Thank you.