This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Dis/Enable 'Send Link to Device' in context menu when clicking on link

  • 8 balasan
  • 14 ada masalah ini
  • 6 paparan
  • Balasan terakhir oleh cor-el

more options

Hello,

since I updated to FF 56.0 I always get an extra entry in my context menu, when I right click on any link. The extra entry is called 'Send Link to Device'. Is there any way to remove this specific entry in my context menu? I don't use a FF account and won't need this for the foreseeable future of the next 2-3 years. I already got rid of the 'take a screenshot' context menu entry with the help of this forum and about:config, but I couldn't find the solution for my particular problem.

Hello, since I updated to FF 56.0 I always get an extra entry in my context menu, when I right click on any link. The extra entry is called 'Send Link to Device'. Is there any way to remove this specific entry in my context menu? I don't use a FF account and won't need this for the foreseeable future of the next 2-3 years. I already got rid of the 'take a screenshot' context menu entry with the help of this forum and about:config, but I couldn't find the solution for my particular problem.

Penyelesaian terpilih

Oh yes, I see that now. Mine's grayed and if you haven't set up Sync, I assume yours is, too.

I'm not aware of a built-in way to hide that item. But...

You can apply a custom style rule to right-click context menus to hide individual items. For example:

/* Hide "Send Link to Device" and preceding separator */
#contentAreaContextMenu #context-sendlinktodevice, 
#contentAreaContextMenu #context-sep-sendlinktodevice {
  display: none !important;
}

The most forward-compatible way to do that is to create or edit a userChrome.css file. When you have five minutes, take a look at the steps here: https://support.mozilla.org/questions/1164362#answer-978078

Baca jawapan ini dalam konteks 👍 5

All Replies (8)

more options

Penyelesaian Terpilih

Oh yes, I see that now. Mine's grayed and if you haven't set up Sync, I assume yours is, too.

I'm not aware of a built-in way to hide that item. But...

You can apply a custom style rule to right-click context menus to hide individual items. For example:

/* Hide "Send Link to Device" and preceding separator */
#contentAreaContextMenu #context-sendlinktodevice, 
#contentAreaContextMenu #context-sep-sendlinktodevice {
  display: none !important;
}

The most forward-compatible way to do that is to create or edit a userChrome.css file. When you have five minutes, take a look at the steps here: https://support.mozilla.org/questions/1164362#answer-978078

more options

i do not have userChrome.css , only userContent.css Can I edit userContent.css which already has this command

/* about:home */ @-moz-document url(about:home){

#snippetContainer { display:none !important; }

}

Just skip a few lines and put new command?

also want rid of serach google for whatever is highlighted in context menu

How do i remove the word mozilla from top right of home page? see screenshot?

Thanks

Diubah oleh FIREFOXED

more options

FIREFOXED said

Can I edit userContent.css which already has this command... Just skip a few lines and put new command?

You can add new rules below existing ones, yes.

also want rid of serach google for whatever is highlighted in context menu

Menus are part of the user interface, so modifying them requires rules in a different file named userChrome.css ("chrome" is the interface bits). Please start a different thread on that.

How do i remove the word mozilla from top right of home page? see screenshot?

Try using the Inspector tool to gain information about how to identify that element in your style rule. Or in other words, to identify its CSS selector.

https://developer.mozilla.org/docs/Tools/Page_Inspector

If the element has an id="some_text" you can style it by creating a rule prefacing that id with the hash character:

@-moz-document url(about:home){
    #some_text { display:none !important; }
}
more options

Add code to the userContent.css file.


@-moz-document url(about:home){
  #aboutMozilla { display:none!important; }
}

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

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

  • create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • use a plain text editor like Notepad to create a (new) userChrome.css file in the chrome folder (file name is case sensitive)
  • paste the code in the userChrome.css file in the editor window
  • make sure that the userChrome.css file starts with the default @namespace line
  • make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css.
    otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file
more options

Not working :(

(screenshot) текстовая ссылка

more options

Did this just change in Firefox 56 from "Send Link to Device" to "Send Page to Device"??

/* Hide "Send Page to Device" and preceding separator */
#contentAreaContextMenu #context-sendpagetodevice, 
#contentAreaContextMenu #context-sep-sendpagetodevice {
  display: none !important;
}
more options

Note that the screenshot shows a file in the Firefox program folder.

The userChrome.css file needs to be in the chrome folder in the Firefox profile folder.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

Note that the source code shows these context-send context menu items.

#context-sendaudio
#context-sendimage
#context-sendvideo
#context-sendpagetodevice
#context-sendlinktodevice