Dimitre
(Dimitre)
April 14, 2017, 8:20pm
1
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
erosman
(erosman)
April 15, 2017, 5:23am
2
There is targetUrlPatterns
but I haven’t seen a CSS selector based one.
fred.wang
(Fred Wang)
April 19, 2017, 8:47am
3
1 Like
Dimitre
(Dimitre)
May 20, 2017, 2:52pm
4
Super. hope they solve it fast.
Sadly they are already promoting addons using webextensions and we still don’t have the ability to port ours.
Dimitre
(Dimitre)
March 22, 2019, 7:43pm
5
still no replacement for the old style selectors?