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

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -

javascript - How to change image src on success AJAX -