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!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Hide toolbar menu but keep function of Minimize Maximize and close under windows 2008R2

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 CK-PROM

more options

I'm using firefox 52ESR (portable) I hide the toolbar menu via userChrome.css:

  1. toolbar-menubar

{display: none !important;}

On Windows 7/10 and Windows Server 2012 it's working fine, the menu is not displayed but I still can use the minimize, maximize and close buttons. On Windows Server 2008 R2 the menu is not displayed, that's ok, but the buttons (minimize, maximize and close) have no function. They are there but if I click them nothing happens. Is there a way to disable the menu bar but still keep the funkction of these buttons under windows Server 2008?

Best Regards

I'm using firefox 52ESR (portable) I hide the toolbar menu via userChrome.css: #toolbar-menubar {display: none !important;} On Windows 7/10 and Windows Server 2012 it's working fine, the menu is not displayed but I still can use the minimize, maximize and close buttons. On Windows Server 2008 R2 the menu is not displayed, that's ok, but the buttons (minimize, maximize and close) have no function. They are there but if I click them nothing happens. Is there a way to disable the menu bar but still keep the funkction of these buttons under windows Server 2008? Best Regards

所有回复 (6)

more options

Why use userChrome.css code to hide the Menubar?

Having the Menubar be hidden is a default feature in Firefox for quite awhile now, and the "switch" is available in multiple places in the UI, along with the Alt & F10 keys being able to display the Menubar at will. It shouldn't cause the Titlebar buttons to quit working whether the Menu Bar is showing or not showing.

As far as the Windows Title Bar buttons - Minimize, Maximize, and Close buttons - not working, look to your customizations in Firefox for causing that to occur. Could be a slightly broken extension or some "user code". Going back to Firefox 40-something I had an issue with F11 Fullscreen not working, and the cause was a UserSyle (for Stylish) that needed to be tweaked a bit to get rid of that fault. Unfortunately I don't recall the line of code that caused that fault, as it was occurring in one of my lesser used Profiles.

more options

Thanks for your reply

If I use the right-click menu to hide the menu the buttons are working. But if I restart the browser the menu bar appearce again, I want to disable it by default. It seems to be a problem with the firefox version. I'm using the portable Version from portable apps, if I use a normal firefox version the menu bar stays disabled.

Is there another way to hide the menu bar?

more options

View > Toolbars -> Menu Bar.

more options

Thanks but same behaviour like the right click menu, if I disable the menu bar it apepars again after a restart of the browser.

more options

How about when launching Firefox in the Firefox SafeMode? What happens then?

Help > Troubleshooting Information -> Restart with Add-ons disabled ... - which does a lot more than disable add-ons

Or - with Firefox not running, hold the Shift when you double-click the Firefox desktop shortcut.

more options

Hey, sorry for the delayed answer. If i launch Firefox in the SafeMode the menu bar is hidden, it doesn't matter if I active the menu bar befor restarting, the menu bar is alsways hidden. But Safe-Mode is not an Option for the normal use. I've no custom plugins/add-ons installed.