mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 08:39:59 -05:00
better logs for facebook logins
This commit is contained in:
parent
38af0f347b
commit
8f44eac2f3
@ -198,10 +198,12 @@ var umbraBehaviorFinished = function() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
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?")
|
||||
var umbraIntervalId = setInterval(umbraIntervalFunc, 200);
|
||||
}
|
||||
else //login
|
||||
else {//login
|
||||
console.log("#login_form and credentials found for " + location.href);
|
||||
umbraFacebookLogin();
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user