aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-02-08 19:59:33 -0500
committerAjay <[email protected]>2022-02-08 19:59:33 -0500
commite622ee725c760185919c51066eed4ff16f20447c (patch)
tree9a274b6b14c0acd1f1c3c69ba5e476cc3283ff80
parent5ace92dc8b5be6538cf93ec348691a71d929272d (diff)
downloadSponsorBlock-e622ee725c760185919c51066eed4ff16f20447c.tar.gz
SponsorBlock-e622ee725c760185919c51066eed4ff16f20447c.zip
remove logging
-rw-r--r--src/content.ts3
1 files changed, 0 insertions, 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));