'Launch automatically popup chrome-extension

I would like to know if it would be possible to open the popup window of a chrome-extension when I select a text from a website. Now when I select a text I store it in the localstorage through chrome.contextMenus.onClicked.addListener((event) and to show the results, I have to go with the mouse and manually open the extension. Let's see if it is possible to automate that action . Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source