Jump to content
SSForum.net is back!

Recommended Posts

Posted

When ssforum is visited without logging in, the following code is on the page:

/* Init Facebook JS */
try
{
FB_RequireFeatures(["XFBML"], function()
{
	FB.init("03ad3e5291506200011eb66edef2585d", "http://www.ssforum.net/interface/facebook/xd_receiver.php" );
	FB.Facebook.get_sessionState().waitUntilReady(function()
	{
		FB.Connect.ifUserConnected( ipb.facebook.login_loadUser );
	} );
} );
}
catch( error )
{
alert( error );
}

 

Could the alert() please be removed? I do not have facebook.com whitelisted

 

Thanks

Posted

Moving to feedback and support

 

 

Weird coincidence... 5 minutes after reading this topic, I hit something on the page, have no idea what, and I got one of these 'Alert' messages... never seen that before here, and I get one just now. Saying my visibility was changed to anonymous... wtf did I hit to do that?

Edit: oh just found it... never noticed that link before

Posted (edited)

Or if those messages are a must for debugging, you could get firebug and do something like:

 

function d()
{
if (window.console && console.log)
	console.log.apply(this, arguments);

}

 

Then simply replace the alert()s with d().

 

No alert box to click away and no errors for those without firebug

Edited by JoWie

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...