Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

How to know name of elements in firefox context menu?

  • 2 amsoshi
  • 1 yana da wannan matsala
  • 18 views
  • Amsa ta ƙarshe daga cor-el

more options

How can I know the names of elements in firefox tab context menu? (Menu which appears when we right click on a tab)

Example - If I want to hide the "sendtodevice" menu, then I will add below code to userChrome.css

/* Hide Send Tab to Device */

  1. context_sendTabToDevice_separator,
  2. context_sendTabToDevice,
  3. context_sendTabToDevicePopupMenu {
 display: none !important;

}

For send to device menu, the element names are above. For other menu items, where can I get their element names?

I want to hide a few menu items

How can I know the names of elements in firefox tab context menu? (Menu which appears when we right click on a tab) Example - If I want to hide the "sendtodevice" menu, then I will add below code to userChrome.css /* Hide Send Tab to Device */ #context_sendTabToDevice_separator, #context_sendTabToDevice, #context_sendTabToDevicePopupMenu { display: none !important; } For send to device menu, the element names are above. For other menu items, where can I get their element names? I want to hide a few menu items

All Replies (2)

more options
more options