JoWie Posted February 11, 2010 Report Posted February 11, 2010 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 Quote
Samapico Posted February 11, 2010 Report Posted February 11, 2010 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 Quote
JoWie Posted February 11, 2010 Author Report Posted February 11, 2010 (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 February 11, 2010 by JoWie Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.