mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 06:27:14 +03:00
Fix segment failed to fetch warning appearing for 404
This commit is contained in:
@@ -1926,7 +1926,7 @@ function startOrEndTimingNewSegment() {
|
|||||||
|
|
||||||
importExistingChapters(false);
|
importExistingChapters(false);
|
||||||
|
|
||||||
if (lastResponseStatus !== 200 && !shownSegmentFailedToFetchWarning) {
|
if (lastResponseStatus !== 200 && lastResponseStatus !== 404 && !shownSegmentFailedToFetchWarning) {
|
||||||
alert(chrome.i18n.getMessage("segmentFetchFailureWarning"));
|
alert(chrome.i18n.getMessage("segmentFetchFailureWarning"));
|
||||||
|
|
||||||
shownSegmentFailedToFetchWarning = true;
|
shownSegmentFailedToFetchWarning = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user