diff --git a/app/src/main/java/io/legado/app/help/http/AjaxWebView.kt b/app/src/main/java/io/legado/app/help/http/AjaxWebView.kt index c242e879f..a871ee801 100644 --- a/app/src/main/java/io/legado/app/help/http/AjaxWebView.kt +++ b/app/src/main/java/io/legado/app/help/http/AjaxWebView.kt @@ -182,7 +182,7 @@ class AjaxWebView { private val mWebView: WeakReference = WeakReference(webView) override fun run() { mWebView.get()?.evaluateJavascript(mJavaScript) { - if (it.isNotEmpty()) { + if (it.isNotEmpty() && it != "null") { val content = StringEscapeUtils.unescapeJson(it) handler.obtainMessage(MSG_SUCCESS, Response(url, content)) .sendToTarget()