Creating a port between content script and browser action javascript in Chrome extension -
in order detect when browser action closes in chrome extension, i'm creating connection between browser action javascript , background script, , using port.ondisconnect
. alert tab's content script of closing using tabs.sendmessage
. there way can create port between content script , browser action javascript remove need background page?
Comments
Post a Comment