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!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to stop websites from suppressing menus

  • 5 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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.

Chosen solution

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
Read this answer in context 👍 1

All Replies (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

Chosen Solution

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