|
|
@ -2,6 +2,7 @@ package io.legado.app.constant |
|
|
|
|
|
|
|
|
|
|
|
import io.legado.app.App |
|
|
|
import io.legado.app.App |
|
|
|
import io.legado.app.R |
|
|
|
import io.legado.app.R |
|
|
|
|
|
|
|
import javax.script.ScriptEngine |
|
|
|
import javax.script.ScriptEngineManager |
|
|
|
import javax.script.ScriptEngineManager |
|
|
|
|
|
|
|
|
|
|
|
object AppConst { |
|
|
|
object AppConst { |
|
|
@ -14,7 +15,7 @@ object AppConst { |
|
|
|
|
|
|
|
|
|
|
|
const val userAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.2357.134 Safari/537.36" |
|
|
|
const val userAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.2357.134 Safari/537.36" |
|
|
|
|
|
|
|
|
|
|
|
val SCRIPT_ENGINE = ScriptEngineManager().getEngineByName("rhino") |
|
|
|
val SCRIPT_ENGINE: ScriptEngine = ScriptEngineManager().getEngineByName("rhino") |
|
|
|
|
|
|
|
|
|
|
|
val NOT_AVAILABLE = App.INSTANCE.getString(R.string.not_available) |
|
|
|
val NOT_AVAILABLE = App.INSTANCE.getString(R.string.not_available) |
|
|
|
|
|
|
|
|
|
|
|