This is really something I'm waiting for in firefox for years. I remember it was possible in early versions once, but the home-grown plugin (some few lines in a file) stopped working and all the formerly available plugins from your plugin repository which allowed this have vanished altogether the same time for some strange reason with some firefox update.
What I'd propose is a way to allow users to define commands for own context menu entries which are executed then. For example, when right clicking on a html link on the currently displayed page, the user defined entry could read e.g. "Play with MPV", and the shell command executed would be
mpv %L --gamma=29 --volume=75
, where %L stands for the URL on which the right click was applied (e.g. something like 3-Sat TV station ). For this the editing feature would need to provide in a menu entry setup dialog a set of placeholders for links etc, e.g. %L for Link, %D for Domain, %N for filename or %M for Email address, and so on, for all elements of interest, along with a line to enter the command and some checkboxes for the scope(s) (Link, Image, Text, ...) when the entry should appear in the menu, and a field for the enty name to be displayed, possibly also a field for selecting a shortcut. Even when the example is about external video playback, this way of giving full control over the context menu entries to the user will serve multiple advanced purposes, saving many extra clicks for copying and pasting and composing commands manually again and again instead of automatising them. I'ts all about flexibility and usability in firefox.
Would be really great if you could implement something like that soon.
Yeah, I rarely need to "Inspect Accessibility Properties," or "Email image," or "Set as desktop background." Would really like to get those out of the way, because when you use a lot of extensions, the menu gets inconveniently tall. More featureful context menu editing would be fantastic, but even merely being able to remove unneeded items would really help.
I totally agree. I saw that it had "few" votes, but Firefox should see that most of us just do not know enough about web issues, we are just users. For instance, I did not even know that a proposal could be voted until I recently run into this page trying to figure out how to change the context menu, and even offers options that I don't know what they are and do not even care.
Trying to keep this topic alive... please add me to the list of people who would like this functionality to be added as a standard feature. I really don't need to see "View Selection/Page Source" or "Inspect (Q)" every time I right-click.
I'm sure the developers are well aware that lots of us run other add-ons with their own context menus, so these superfluous options leave less space for items that actually do need to be there.
Much appreciation for all the people that contribute to Firefox, but please remember that the vast majority of us have zero need to use these options, ever! Thanks. 😍