I am not very experienced with js, but I am very keen to update all of my add-ons to MV3 and would really appreciate some guidance.
I have a few add-ons that add a search option to the context menu in Firefox. The user can select some text, open the context menu and send the text to a search string.
When I try to bring this up to scratch for MV3, the context menu option does not appear. The test .xpi file is installed through about:debugging in Dev Edition without a problem, but I have no luck in making it work.
To help illustrate this, this repo (https://github.com/plwt/MV3-Context-Menu-Search), has a working MV2 version, and my attempt at a MV3 version. What do I need to change in the MV3 version to make it work?
Any help or assistance that gets me to a solution would be really appreciated.