From e622ee725c760185919c51066eed4ff16f20447c Mon Sep 17 00:00:00 2001 From: Ajay Date: Tue, 8 Feb 2022 19:59:33 -0500 Subject: [PATCH] remove logging --- src/content.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/content.ts b/src/content.ts index 38316dbf..a6475dbf 100644 --- a/src/content.ts +++ b/src/content.ts @@ -504,8 +504,6 @@ function startSponsorSchedule(includeIntersectingSegments = false, currentTime?: if (incorrectVideoCheck(videoID, currentSkip)) return; forceVideoTime ||= video.currentTime; - console.log(video.currentTime + "\t" + forceVideoTime + "\t" + skipTime[0] + "\t" + (video.currentTime - skipTime[0]) * 1000 + "\t" + (forceVideoTime - skipTime[0]) * 1000); - if (forceVideoTime >= skipTime[0] && forceVideoTime < skipTime[1]) { skipToTime({ v: video, @@ -537,7 +535,6 @@ function startSponsorSchedule(includeIntersectingSegments = false, currentTime?: const startVideoTime = video.currentTime; currentSkipInterval = setInterval(() => { const intervalDuration = performance.now() - startIntervalTime; - console.log(startVideoTime + intervalDuration / 1000) if (intervalDuration >= delayTime || video.currentTime >= skipTime[0]) { clearInterval(currentSkipInterval); skippingFunction(Math.max(video.currentTime, startVideoTime + intervalDuration / 1000));