Background speaks to all tabs
When I make a change in my extension, the content scri开发者_如何学JAVApt lets the background page know. I would like to then let every other content script know of this change. How do I keep track of or is there a command that will return me the content scripts running my extension?
Thanks much.
Just loop through all tabs in all windows (chrome.windows.getAll({populate: true})
) and send request to every tab.
精彩评论