Last active
July 24, 2021 15:06
-
-
Save piotrmadry/7ca23bdbd67ce9e5a4aa51610ca28033 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webView.settings.javaScriptEnabled = true | |
webView.webViewClient = object : WebViewClient() { | |
override fun onPageFinished(view: WebView, url: String) { | |
injectJS() | |
} | |
} | |
webView.loadUrl("https://www.google.com") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment