diff --git a/src/content.ts b/src/content.ts index c0689c4a..8a8f033c 100644 --- a/src/content.ts +++ b/src/content.ts @@ -661,6 +661,11 @@ async function startSponsorSchedule(includeIntersectingSegments = false, current forcedSkipTime = forceVideoTime + 0.001; } + // Don't pretend to be earlier than we are, could result in loops + if (forcedSkipTime !== null && forceVideoTime > forcedSkipTime) { + forcedSkipTime = null; + } + startSponsorSchedule(forcedIncludeIntersectingSegments, forcedSkipTime, forcedIncludeNonIntersectingSegments); };