Access the content of browser extension popup window
I want to access the content of the popup window from the browser extension using javascript from my site. My purpose is to listen to if a button is clicked from the popup window. How can this be achieved?