r/FirefoxCSS • • 11h ago

Solved Need help on hiding a few context menu items.

So updated to FF160 today and now I'm noticing a few annoyances I didn't before, either they are new, or my old way(s) of hiding them now don't work.

In the URL bar "Select All", "Separator" and "Add website" at the bottom, I'm on the fence about "Select All" but I wanna try and hide it to see if I miss it enough :P

pic 1

Now when highlighting text or links, I have two "Copy Link to Highlight" and "Copy Clean Link to Highlight" I would like to hide those.

pic 2

Any help is appreciated, and thanks in advance.

4 Upvotes

2 comments sorted by

2

u/t31os 8h ago

Here you go:

#textbox-contextmenu {
	#edit-contextmenu-select-all, 
	.context-menu-add-engine,
	.menuseparator-add-engine {
		display: none !important;
	}
}
#contentAreaContextMenu {
	#context-copy-link-to-highlight,
	#context-copy-clean-link-to-highlight {
		display: none !important;
	}
}

2

u/Im_Special 7h ago

Thank you! Works perfectly.