mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 08:39:59 -05:00
log facebook captcha
This commit is contained in:
parent
de5c520ad7
commit
2f6ac120e3
@ -198,9 +198,12 @@ var umbraBehaviorFinished = function() {
|
|||||||
return false;
|
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
|
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);
|
var umbraIntervalId = setInterval(umbraIntervalFunc, 200);
|
||||||
}
|
}
|
||||||
else {//login
|
else {//login
|
||||||
|
Loading…
x
Reference in New Issue
Block a user