I have been searched the answer for this question , but did not found exact answer at all.
So, when we click the right click on extension icon we usually, if we did not add something manually, have next options in it:
If I`d like to catch click event on those options, what event I should do registration?
I tried for:
chrome.browserAction.onClicked.addListener(function (){
debugger;
});
But above catches click on icon itself and not on items inside icon context menu.
The original problem was with uninstall click inside this context menu, it is not sending uninstall data to uninstall URL , which was defined as:
chrome.runtime.setUninstallURL(uninstallURL); // URL length limitation: maximum 255 characters
.
Thanks for help