From 01f6fbd8ca344f90e034f6e700f517bdfa1da45b Mon Sep 17 00:00:00 2001 From: nieve Date: Fri, 16 May 2025 14:10:32 -0400 Subject: [PATCH] sponsorblock chapter fix --- YoutubeScript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YoutubeScript.js b/YoutubeScript.js index 458601b..78c6b54 100644 --- a/YoutubeScript.js +++ b/YoutubeScript.js @@ -974,7 +974,7 @@ function mergeSBChapters(videoChapters, sbChapters) { type: videoChapter.type }; - if(sponsor.timeStart <= startTime && sponsor.timeEnd <= videoChapter.timeEnd) { + if(sponsor.timeStart <= startTime && sponsor.timeEnd >= videoChapter.timeEnd) { newChapters.push(sponsor); skip = true; }