fix: cf web challenge completion detection

Signed-off-by: Infi <wingit@geist.ga>
This commit is contained in:
Infi 2023-05-22 19:03:14 +02:00
parent 47730bcf87
commit 95a7e0dda0
1 changed files with 1 additions and 1 deletions

View File

@ -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(