mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-12-16 17:14:21 -05:00
log facebook captcha
This commit is contained in:
parent
82cc6af366
commit
0e5762c547
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue