How to return the current data of the village?

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
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.
July 8th 19 at 15:55

Find more questions by tags Extensions for browsers