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

搜索 | 用户支持

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

详细了解

Where did Close Tab and Close Window under the File tab go? I end up with all these open windows or exiting altogether.

  • 6 个回答
  • 11 人有此问题
  • 8 次查看
  • 最后回复者为 cor-el

more options

Under the File tab, I no longer see Close Tab or Close Window. Thus, I end up with a lot of open windows, because if I click File Exit, I'm logged out.

Under the File tab, I no longer see Close Tab or Close Window. Thus, I end up with a lot of open windows, because if I click File Exit, I'm logged out.

所有回复 (6)

more options

There never was a Close Tab or Close Window in File or any Meun by default in Firefox. There is the usual New Tab and New Window in File menu yes.

Those Close Tab or Close Window may have been due to a Tab related Extension.

https://support.mozilla.com/en-US/kb/Menu%20Reference?s=menu++&as=s#os=win&browser=fx35

https://support.mozilla.com/en-US/kb/Menu%20Reference?s=menu++&as=s#os=win&browser=fx4

more options

Some menu entries are hidden by default and only appear if you use the keyboard to open the menu.

You can see the difference if you use Alt+F or Alt+B to the File and Bookmarks menu and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by pressing Alt or by pressing F10.

  • Bug 626825 - Hide redundant menu commands unless the user invokes the menu using the keyboard (make use of the openedWithKey attribute)

由cor-el于修改

more options

Yes, I can see them now using Alt+F. Can they be made to show up in the menu just by clicking File? That's how it was in the previous version of Firefox, and it was much more convenient.

more options

Add code to userChrome.css below the @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#navigator-toolbox menuitem[class="show-only-for-keyboard"]{ display:-moz-box !important; }

more options

Thanks for the help, but I'm not sure what to do with it.

When I click on this, "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", I get a message that this technology is no longer supported.

more options

You need to create a file userChrome.css in the chrome folder in the Firefox Profile Folder and paste the above posted code in the file.

You can use the ChromEdit Plus extension to make it easier to edit the file.

You can access the profile folder via this button:

  • Help > Troubleshooting Information > Profile Directory: Open Containing Folder

That code will cause all hidden menu entries to get visible all the time, so you can use the mouse to open the menus and do not need to use the keyboard.