From 71cf9888e8891e215d3f03a3963afb4f9ceb34f4 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Wed, 1 Sep 2021 04:24:10 -0400 Subject: [PATCH] Fix disable skipping not working for highlight Resolves #916 --- src/content.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content.ts b/src/content.ts index 3eefab85..0808d23c 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1085,6 +1085,8 @@ function sendTelemetryAndCount(skippingSegments: SponsorTime[], secondsSkipped: //skip from the start time to the end time for a certain index sponsor time function skipToTime({v, skipTime, skippingSegments, openNotice, forceAutoSkip, unskipTime}: SkipToTimeParams): void { + if (Config.config.disableSkipping) return; + // There will only be one submission if it is manual skip const autoSkip: boolean = forceAutoSkip || shouldAutoSkip(skippingSegments[0]);