Is there a way to execute a script when the extension button is clicked, NOT through ‘popup’ opening up and then clicking a button in the popup window?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look at this. A popup is optional. The button has an “onClicked” event.
Take a look at this example as well. You will notice that the manifest does not have a popup defined. And the background page listens to the “onClicked” event of the button.