The fact that many sites are loaded is strange. Or cache or partially with ajax. For Example Youtube
I need to get the id channel, I receive it in the content script: var ytid = $('.yt-user-info a').text();
then send to the background script using chrome.runtime.onMessage.addListener
And if I overload the page YouTube channel in the manual, all goes. But if I turn on the link on the website YouTube, then sent the old id channel while I'm not physically overload the page.
How to obtain current data on sow YouTube when I sign up for that would not overload in the manual.