搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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