add hcaptcha to captcha detection
(cherry picked from commit 7c01082270aa98a4840af3b0c1bfd6534570682d)
This commit is contained in:
parent
3822eea20a
commit
b90a2ab22d
@ -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<Application>(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user