Jump to content
SubSpace Forum Network

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...