Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

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

What is the CSS Code to remove this context menu?

  • 23 பதிலளிப்புகள்
  • 2 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by Malice

Hello,

What is the CSS code that I have to add to the UserChrome file to remove the following context menu item added by the "Multi Account Containers" extension?

Thanks in advance.

Hello, What is the CSS code that I have to add to the UserChrome file to remove the following context menu item added by the "Multi Account Containers" extension? Thanks in advance.
Attached screenshots

All Replies (3)

cor-el said

Quote: Why is the code for the "Open Link in New Google Tab" only taking effect on the google website and not the youtube website despite both being restricted to the same "google" container that I created? That is not possible. You can only use code in userChrome.css to hide this menu item. It is not possible to do this only on specific websites or in a specific container. You can only do this for content on web pages via userContent.css.

What?

I uploaded images to show you that despite it being entered into the userChrome.css file it is only taking effect on one website and not another.

I'm trying to figure out why...

Not sure what the container has to do with anything. The only reason I mentioned the container was due to the fact both websites are included in the same container which makes this even more confusing as to why this is occuring.

Malice மூலமாக திருத்தப்பட்டது

cor-el said

Quote: Why is the code for the "Open Link in New Google Tab" only taking effect on the google website and not the youtube website despite both being restricted to the same "google" container that I created? That is not possible. You can only use code in userChrome.css to hide this menu item. It is not possible to do this only on specific websites or in a specific container. You can only do this for content on web pages via userContent.css.

This is still only working on one website and not the other...

cor-el said

Quote: Why is the code for the "Open Link in New Google Tab" only taking effect on the google website and not the youtube website despite both being restricted to the same "google" container that I created? That is not possible. You can only use code in userChrome.css to hide this menu item. It is not possible to do this only on specific websites or in a specific container. You can only do this for content on web pages via userContent.css.

Any idea why the code is working in the first image but not the second?

Malice மூலமாக திருத்தப்பட்டது

  1. 1
  2. 2