From f3818c2066edbb99412ffb8223984c0baabb15e0 Mon Sep 17 00:00:00 2001 From: Ajay Date: Sun, 14 Jan 2024 16:54:28 -0500 Subject: [PATCH] Change how chapter views are counted --- src/content.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/content.ts b/src/content.ts index e4ba4869..d04aba00 100644 --- a/src/content.ts +++ b/src/content.ts @@ -2362,16 +2362,10 @@ function getSegmentsMessage(sponsorTimes: SponsorTime[]): string { } function updateActiveSegment(currentTime: number): void { - const activeSegments = previewBar?.updateChapterText(sponsorTimes, sponsorTimesSubmitting, currentTime); chrome.runtime.sendMessage({ message: "time", time: currentTime }); - - const chapterSegments = activeSegments?.filter((segment) => segment.actionType === ActionType.Chapter); - if (chapterSegments?.length > 0) { - sendTelemetryAndCount(chapterSegments, 0, true); - } } function nextChapter(): void {