diff --git a/app/src/main/java/exh/patch/UniversalCaptchaDetection.kt b/app/src/main/java/exh/patch/UniversalCaptchaDetection.kt index ffc4293e2..202a54c6e 100644 --- a/app/src/main/java/exh/patch/UniversalCaptchaDetection.kt +++ b/app/src/main/java/exh/patch/UniversalCaptchaDetection.kt @@ -10,7 +10,7 @@ val CAPTCHA_DETECTION_PATCH: EHInterceptor = { request, response, sourceId -> if (!response.isSuccessful) { response.interceptAsHtml { doc -> // Find captcha - if (doc.getElementsByClass("g-recaptcha").isNotEmpty()) { + if (doc.getElementsByClass("g-recaptcha").isNotEmpty() || doc.getElementsByClass("h-captcha").isNotEmpty()) { // Found it, allow the user to solve this thing BrowserActionActivity.launchUniversal( Injekt.get(),