diff options
author | Ajay <[email protected]> | 2024-01-14 16:54:28 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2024-01-14 16:54:28 -0500 |
commit | f3818c2066edbb99412ffb8223984c0baabb15e0 (patch) | |
tree | 9f37527c3e42c25880636a02c3b0cf35537d3148 /src | |
parent | 3222afd8b419288fcfa2e7dd034fea7cfebc01e9 (diff) | |
download | SponsorBlock-f3818c2066edbb99412ffb8223984c0baabb15e0.tar.gz SponsorBlock-f3818c2066edbb99412ffb8223984c0baabb15e0.zip |
Change how chapter views are counted
Diffstat (limited to 'src')
-rw-r--r-- | src/content.ts | 6 |
1 files changed, 0 insertions, 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 { |