fix: cf web challenge completion detection
Signed-off-by: Infi <wingit@geist.ga>
This commit is contained in:
parent
47730bcf87
commit
95a7e0dda0
|
|
@ -35,7 +35,7 @@ class WebChallengeActivity : AppCompatActivity() {
|
|||
|
||||
binding.webView.webViewClient = WebChallengeClient {
|
||||
binding.webView.evaluateJavascript(
|
||||
"(function() { return document.getElementById('cf-wrapper') != null; })();"
|
||||
"(function() { return document.getElementById('cf-wrapper') === null; })();"
|
||||
) { result ->
|
||||
if (result == "false") {
|
||||
Log.d(
|
||||
|
|
|
|||
Loading…
Reference in New Issue