Can no longer stop websites from suppresing standard menus
Back in 2019 I learned how to set Firefox so that a website opening a new window would always include standard menus (the website could not suppress them). Now I get windows without the menus and controls I need.
I used some combination of
dom.disable_window_open_feature.menubar
and
dom.event.contextmenu.enabled
These haven't done the job for over a year now.
How do I do this now?
Thanks in advance, Lawrence
p.s. I note that I run Windows 8.1 (up-to-date), but have a Windows 10 I could use if it would work better there (up-to-date).
Όλες οι απαντήσεις (3)
Toolbars in Popup Windows
Hi Lawrence, this change was made more than two years ago. Starting in Firefox 76, Firefox removed the option to keep additional bars visible when a site launches a window that specifies certain features, such as height and width.
In the absence of built-in exception, I've been using an unofficial, community-supported workaround, which is custom style rules in a userChrome.css file. Specifically, this keeps the full toolbar available (but not tabs, menu bar, or bookmarks):
/* Override Hiding of Toolbar Buttons in Limited Feature Windows */ *|*:root[chromehidden~="toolbar"] .chromeclass-toolbar-additional { display: -moz-box !important; /* default is display: none */ }
More info in older threads:
- https://support.mozilla.org/questions/1286994
- https://www.reddit.com/r/FirefoxCSS/comments/kq60us/is_there_a_way_to_prevent_popup_windows_from/
Right-click Context Menus
The dom.event.contextmenu.enabled preference should still work for preventing sites from replacing Firefox's normal context menus in web pages. It is not related to toolbars in popup windows.
Thanks! Still considering if I'm too intimidated to try a custom userChrome.css . I can probably handle it if I have enough time to go slowly. (Just a matter of my personal level of technical know-how.)
There's a guide below (remove the blank space).
https://www.userchrome. org/how-create-userchrome-css.html