right click context menu editing
I'd like to be able to remove email/email image or just plain 'email' anything from the right click context menus. Time was, there was an add-on (called Menu Editor) that would enable precisely this.
I'd like to be able to edit my right click context menus (like I used to be able to), but at a push, I defo want to get rid of these email.... right-click context menu entries. :)
I've not set up local email and (as my email is presently unconnected to Microsoft/Windows 10 - and I want to keep it that way), any time I accidentally select an 'email to' right click context menu entry, I get the setup email wizard, which irritates the crap out of me.
Losing the irritating and redundant context menu entries would make browsing more enjoyable.
I figure there must be a way.... ;)
Toutes les réponses (1)
Hi Ethan, there is a way, but it takes a bit of work.
Firefox can be set to look for an optional style rules file named userChrome.css at startup. One of the most common types of style rules users apply to Firefox is "display: none" to hide things they don't want to see in the interface.
Have you already created a userChrome.css file for other purposes? If not, when you have a spare 10 minutes, you could set one up as follows:
This assumes you do not already have a userChrome.css file. If you do already have a working userChrome.css file, you just need to add the rule under (A) to your file.
(A) Select and copy the following style rule code
/* Hide "Email" context menu items */ #context-sendimage, /* Email Image */ #context-sendvideo, /* Email Video */ #context-sendaudio /* Email Audio */ { display: none !important; }
(B) Generate and download a userChrome.css
file
Open the following page and paste the above rules into the editor, replacing the sample rule:
https://www.userchrome.org/download-userchrome-css.html
Then select userChrome.css and click "Generate CSS File". Save the userChrome.css file to your computer. (See first attached screenshot)
Use the downloads list on the toolbar to open the downloads folder directly to the new userChrome.css file. (See second attached screenshot)
Minimize (don't close) that Windows Explorer window for later reference.
(C) Create a new chrome
folder in your profile folder
The following article has the detailed steps for that (#1, #2, and I recommend #3)
https://www.userchrome.org/how-create-userchrome-css.html
I have videos for both Windows and Mac in case the text is not clear.
(D) Move the userChrome.css
file you generated in Step B into the chrome
folder you created in Step C
(E) For Firefox 69+, set Firefox to look for userChrome.css at startup -- see step #6 in the above article.
The next time you exit Firefox and start it up again, it should discover that file and apply the rules to the context menus.
Success?