Hacking the FF context menu?

Hi:

I’m an intermediate level developer and I’m having a problem with an item on the firefox context menu. Often when saving an image I inadvertently click the item to email image instead of save image as. I knoe firefox is open source and developer friendly.

Can anyone point me in the direction of modifying the context menu to remove the email image item?

No need to modify the source code. Just add

#context-sendimage {
display: none !important;
}

to userChrome.css to hide it.

1 Like

Well Thank you very much! Where will I find that file?

See: http://kb.mozillazine.org/UserChrome.css

Note that

toolkit.legacyUserProfileCustomizations.stylesheets

needs to be set to true (in about:config) to enable userChrome.css

Thank you, I’m still not finding it. I have enabled the

toolkit.legacyUserProfileCustomizations.stylesheets

but I’m not finding that stylesheet in my profile folder (screenshot attached.)

Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows 10

Okay. I found it and it is now fixed. Thank you sooo very much!