User Help for Mozilla Firefox
10 posts • Page 1 of 1
This previously prescribed solution:
to remove the "Set Image as Desktop Background" and "Email Image" from the context menu items no longer functions in v89.
Anyone know of a solution that will work going forward?
Without having to resort to a policy file?
Last edited by LIMPET235 on June 4th, 2021, 5:36 am, edited 1 time in total.
Reason: Added [Mac] to the Title.
Remember to set the toolkit.legacyUserProfileCustomizations.stylesheets preference to true, then restart.
The ids didn't change in Fx 89.
http://searchfox.org/mozilla-release/se ... egexp=true
Thanks, but it didn't work.
I've been using that code, minus the separator line, in the same userchrome file, for many versions of Fx and it has been effective up until now.
I have one extension that modifies the context menu to provide search options, but disabling it made no difference.
Nor did disabling all extensions and running in that mode.
I've made other changes in the file, to tweak other elements new to v89, and they work as expected, so it's not an issue of the userchrome file not being read and functional.
Maybe post your full userChrome.css so we can check for issues.
You can also try to move the new code to the top of the file.
Alright, I tried moving the specific code to be first in the file. Also removing the commenting remarks. No joy.
Here's the file in its entirety. As you can see, it's not complex. I've even left the remarks at the top intact, from whenever it was that Fx generated the file on its own automatically, a long time ago.
The other two mods, the persistent tab close buttons, and the tab bar background color (just added for v89), do work. Only the context menu item does not.
Disabling extensions, and restarting in safe mode. No joy. Puzzling.
I'm having the same problem with the context menu items not being removed with userchrome.css, and am also on a Mac. The other changes work perfectly.
Is it a Mac thing?
Try setting the widget.macos.native-context-menus pref to false, then restart.
Mac native context menus fail to honor CSS rules
Use native context menus on Mac
For reading only as Bugzilla is not a forum.
That worked, thank you very much!
Hallelujah. Thanks, that worked. I should have known better and searched for a bug.
Additional thanks for posting the searchfox link. Using it to determine the IDs. I took the opportunity to remove additional items as well, and further tidy up the context menu to my liking.
10 posts • Page 1 of 1
Who is online
Users browsing this forum: Bing [Bot] and 13 guests