搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

right click context menu editing

  • 1 个回答
  • 2 人有此问题
  • 42 次查看
  • 最后回复者为 jscher2000

more options

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.... ;)

所有回复 (1)

more options

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?