mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
enable WebView DOM storage (#522)
This commit is contained in:
parent
718165a58e
commit
5eb5042622
1 changed files with 2 additions and 0 deletions
|
@ -177,6 +177,8 @@ class WebViewActivity : BaseActivity() {
|
|||
insets
|
||||
}
|
||||
webview.settings.javaScriptEnabled = true
|
||||
webview.settings.domStorageEnabled = true
|
||||
|
||||
webview.settings.userAgentString = source.headers["User-Agent"]
|
||||
webview.loadUrl(url, headers)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue