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

搜索 | 用户支持

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

详细了解

How to stop websites from suppressing menus

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

more options

My email program (Yahoo webmail) suppresses the menus on the pop-up window to print an email. Therefore I cannot do "Print Preview" or adjust scaling. How can I stop if from suppressing the menus, or restore them to a window that has them suppressed. Usual turn-on-menu tricks (<Alt> key, <F11>, three-bar menu's options) don't work in this case.

My email program (Yahoo webmail) suppresses the menus on the pop-up window to print an email. Therefore I cannot do "Print Preview" or adjust scaling. How can I stop if from suppressing the menus, or restore them to a window that has them suppressed. Usual turn-on-menu tricks (<Alt> key, <F11>, three-bar menu's options) don't work in this case.

被采纳的解决方案

Is this about hiding toolbars like the Firefox Menu bar in a pop-up window ?

There are various dom.disable_window_open_feature prefs to prevent websites from hiding specific content that you can set to true to prevent a website from disabling this specific feature.

  • dom.disable_window_open_feature.menubar = true
定位到答案原位置 👍 1

所有回复 (5)

more options

Maybe toggling this pref on the about:config page will work.

  • dom.event.contextmenu.enabled = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

Thanks, but doesn't help. I believe that pref stops sites from messing with context menus (usually right-click menus.) I do figure it's a pref somewhere that I can't find.

more options

选择的解决方案

Is this about hiding toolbars like the Firefox Menu bar in a pop-up window ?

There are various dom.disable_window_open_feature prefs to prevent websites from hiding specific content that you can set to true to prevent a website from disabling this specific feature.

  • dom.disable_window_open_feature.menubar = true
more options

Yes, that is exactly what I need. (I also see a list of similar items one can keep on the new windows listed at http://kb.mozillazine.org/About:config_entries , thanks to your guidance to get me on the right track. )

Thanks muchly!

more options