mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 00:29:53 -05:00
log facebook captcha
This commit is contained in:
parent
de5c520ad7
commit
2f6ac120e3
@ -198,9 +198,12 @@ var umbraBehaviorFinished = function() {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (document.querySelector("div.captcha_interstitial") != null) { // found a captcha
|
||||
console.log("captcha found");
|
||||
}
|
||||
|
||||
if (document.getElementById("login_form") == null || UMBRA_FB_USER_NAME.indexOf("parameter")>0 || UMBRA_FB_PASSWORD.indexOf("parameter")>0 ) {//check for unset parameters
|
||||
console.log("missing login_form or login credentials; maybe already logged in?")
|
||||
console.log("missing login_form or login credentials; maybe already logged in?");
|
||||
var umbraIntervalId = setInterval(umbraIntervalFunc, 200);
|
||||
}
|
||||
else {//login
|
||||
|
Loading…
x
Reference in New Issue
Block a user