mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
remove logging
This commit is contained in:
parent
5ace92dc8b
commit
e622ee725c
1 changed files with 0 additions and 3 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue