diff --git a/src/content.ts b/src/content.ts index 688b3100..ee1e638f 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1206,7 +1206,7 @@ async function sponsorsLookup(keepOldSubmissions = true) { function importExistingChapters(wait: boolean) { if (!existingChaptersImported) { waitFor(() => video?.duration && getExistingChapters(sponsorVideoID, video.duration), - wait ? 5000 : 0, 100, (c) => c?.length > 0).then((chapters) => { + wait ? 15000 : 0, 400, (c) => c?.length > 0).then((chapters) => { if (!existingChaptersImported && chapters?.length > 0) { sponsorTimes = (sponsorTimes ?? []).concat(...chapters).sort((a, b) => a.segment[0] - b.segment[0]); existingChaptersImported = true;