Update YouTube again, just to be sure. Not all refreshes are caught for some reason.

This commit is contained in:
shinigami-eyes 2019-05-12 16:07:51 +02:00
parent 03edf6842f
commit c652fa5bce
1 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,7 @@ function init() {
if (isHostedOn(hostname, 'youtube.com')) {
setInterval(updateYouTubeChannelHeader, 300);
setInterval(updateAllLabels, 6000);
}
if (myself && (myself.href || myself.startsWith('http:') || myself.startsWith('https:')))
@ -181,6 +182,7 @@ function updateYouTubeChannelHeader() {
}
updateAllLabels();
setTimeout(updateAllLabels, 2000);
setTimeout(updateAllLabels, 4000);
}
function updateAllLabels(refresh) {