diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt index 43fbfe5a3..06a375ac7 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt @@ -333,7 +333,7 @@ class AnalyzeUrl( val params = AjaxWebView.AjaxParams(url) params.headerMap = headerMap params.requestMethod = method - params.javaScript = jsStr + params.javaScript = webJs ?: jsStr params.sourceRegex = sourceRegex params.postData = body?.toByteArray() params.tag = source?.getStoreUrl()