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

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -