This commit is contained in:
spiduler
2020-11-07 18:58:16 +09:00
parent 98b04c06cf
commit e04e11b34a

View File

@@ -33,6 +33,10 @@ class CaptchaComp {
}
}
sleep(m) {
return new Promise(r => setTimeout(r, m))
}
isCaptchaPage(html) {
return html.indexOf('hcaptcha') > -1 || html.indexOf('www.google.com/recaptcha/api2/anchor') > -1
}