diff --git a/static/ede.user.js b/static/ede.user.js index 0a3c6b0..89778d4 100644 --- a/static/ede.user.js +++ b/static/ede.user.js @@ -511,6 +511,10 @@ } if (!is_auto) { animeName = prompt('确认动画名:', animeName); + if(animeName == null) { + showDebugInfo('用户已取消'); + return null; + } } let searchUrl = apiPrefix + 'https://api.dandanplay.net/api/v2/search/episodes?anime=' + animeName + '&withRelated=true';