From 237ec3d404ccaea6df3030fddbeeacf9878f709e Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 5 Sep 2021 23:21:29 +0800 Subject: [PATCH] =?UTF-8?q?url=E5=8F=82=E6=95=B0=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E4=B8=AAwebJs,=E5=9C=A8webView=E9=87=8C=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E8=8E=B7=E5=8F=96=E5=86=85=E5=AE=B9,=E7=9B=B4?= =?UTF-8?q?=E5=88=B0=E5=86=85=E5=AE=B9=E4=B8=8D=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()