mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-03 12:06:28 -04:00
better logs for facebook logins
This commit is contained in:
parent
38af0f347b
commit
8f44eac2f3
1 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue