0

I making making a chrome extension and I want to trigger an action when an icon is clicked. I am having some trouble doing this in manifest version 3.

I am currently using the code chrome.browserAction.onClicked.addListener(function(tab) { alert('icon clicked')}); in my background page and having the active tab permissions. But nothing happens

0 Answers0