From c652fa5bce7f9fdadfbf5ba43739f98bb3757fbb Mon Sep 17 00:00:00 2001 From: shinigami-eyes <43276258+shinigami-eyes@users.noreply.github.com> Date: Sun, 12 May 2019 16:07:51 +0200 Subject: [PATCH] Update YouTube again, just to be sure. Not all refreshes are caught for some reason. --- extension/content.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extension/content.js b/extension/content.js index 7d7b583..9836f6d 100644 --- a/extension/content.js +++ b/extension/content.js @@ -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) {