|
@@ -100,7 +100,9 @@ class WebViewActivity : BaseActivity<WebviewActivityBinding>() {
|
|
|
|
|
|
binding.webview.webViewClient = object : WebViewClientCompat() {
|
|
binding.webview.webViewClient = object : WebViewClientCompat() {
|
|
override fun shouldOverrideUrlCompat(view: WebView, url: String): Boolean {
|
|
override fun shouldOverrideUrlCompat(view: WebView, url: String): Boolean {
|
|
- view.loadUrl(url)
|
|
|
|
|
|
+ val android_browser: MutableMap<String, String> = HashMap()
|
|
|
|
+ android_browser["X-Requested-With"] = "com.android.browser"
|
|
|
|
+ view.loadUrl(url,android_browser)
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
|
|
|