Firefox Userchrome
Introduction
This userchrome file for Firefox (1) hides the ‘Email image…’ and ‘Set as desktop background…’ items from the context menu when right-clicking on images, and (2) hides the extension icons in the right-click menu.
The file
menuitem[image] > .menu-iconic-left, menu[image] > .menu-iconic-left { opacity: 0%; }
#context-sendimage, #context-setDesktopBackground { display: none; }
Installation
This guide was created for Firefox 100 on Fedora 36, but should work for other platforms as well.
- Point Firefox to
about:support. Click the Open Directory button in the ‘Profile Directory’ field. - In the directory that opens, create a directory with the name
chromeand a file calleduserChrome.csswithin it. - In
userChrome.csspaste the above text and save the file. - Finally, point Firefox to
about:config, click Accept the Risk and Continue, type ‘legacyUser’ into the search field, and toggle the settingtoolkit.legacyUserProfileCustomizations.stylesheetstotrue. - Restart Firefox.