I would like to create a contextMenu based on selectors, but didn’t found how, or if is it possible at the moment.
In legacy extensions I was able to do with the command:
context: contextMenu.SelectorContext("div._ovg3g"),
And I’ll need a similar feature to be able to port my addons to webextensions.
https://addons.mozilla.org/en-US/firefox/addon/google-yandex-reverse/?src=search
Thank you