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 49c4f92b3..080345ab1 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 @@ -186,16 +186,6 @@ class AnalyzeUrl( } } - /** - * 执行JS - */ - @Throws(Exception::class) - private fun evalJS(jsStr: String, result: Any): Any { - val bindings = SimpleBindings() - bindings["result"] = result - return SCRIPT_ENGINE.eval(jsStr, bindings) - } - enum class Method { GET, POST }