diff --git a/src/content.ts b/src/content.ts index d4581486..2b8e3213 100644 --- a/src/content.ts +++ b/src/content.ts @@ -2274,7 +2274,8 @@ async function sendSubmitMessage() { if (!previewedSegment && !sponsorTimesSubmitting.every((segment) => - [ActionType.Full, ActionType.Chapter, ActionType.Poi].includes(segment.actionType))) { + [ActionType.Full, ActionType.Chapter, ActionType.Poi].includes(segment.actionType) + || segment.segment[1] >= getVideo()?.duration)) { alert(`${chrome.i18n.getMessage("previewSegmentRequired")} ${keybindToString(Config.config.previewKeybind)}`); return; }