![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How to stop websites from suppressing menus
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
การตอบกลับทั้งหมด (5)
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.
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.
วิธีแก้ปัญหาที่เลือก
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
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!
You're welcome.
See also: