From d3247cdafa9675b8784dfa9e9e904b78fc2d1475 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 20 Aug 2025 12:57:11 +1000 Subject: [PATCH] Derp --- goodtube.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/goodtube.js b/goodtube.js index 559d084..0245d12 100644 --- a/goodtube.js +++ b/goodtube.js @@ -290,7 +290,7 @@ // If shorts are enabled if (goodTube_shorts === 'true') { // Loop this function - setInterval(goodTube_youtube_hideShortsRealtime, 100); + setTimeout(goodTube_youtube_hideShortsRealtime, 100); // Don't hide shorts return; @@ -322,7 +322,7 @@ }); // Loop this function - setInterval(goodTube_youtube_hideShortsRealtime, 100); + setTimeout(goodTube_youtube_hideShortsRealtime, 100); } // Support timestamp links in comments @@ -353,7 +353,7 @@ // Don't do this if shorts are enabled and we're viewing a short if (goodTube_shorts === 'true' && window.location.href.indexOf('/shorts') !== -1) { // Loop this function - setInterval(goodTube_youtube_hidePlayers, 100); + setTimeout(goodTube_youtube_hidePlayers, 100); // Don't hide the players return; @@ -384,7 +384,7 @@ }); // Loop this function - setInterval(goodTube_youtube_hidePlayers, 100); + setTimeout(goodTube_youtube_hidePlayers, 100); } // Mute and pause all Youtube videos @@ -397,7 +397,7 @@ window.location.href.indexOf('/watch?') === -1 ) { // Loop this function - setInterval(goodTube_youtube_pauseMuteVideos, 1); + setTimeout(goodTube_youtube_pauseMuteVideos, 1); // Don't pause or mute videos return; @@ -417,7 +417,7 @@ }); // Loop this function - setInterval(goodTube_youtube_pauseMuteVideos, 1); + setTimeout(goodTube_youtube_pauseMuteVideos, 1); }