Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: sam_paine
I also get this put into my IE temp file (which I clean often):

147 posted on 11/17/2010 12:16:28 PM PST by mrsmith
[ Post Reply | Private Reply | To 91 | View Replies ]


To: mrsmith
XD Proxy/title> /head> body onload="doFragmentSend()"> div id="swf_holder" style="position: absolute; top: -10000px; width: 1px; height: 1px"> /div> script> var XdCommUrl = "http:\/\/static.ak.fbcdn.net\/rsrc.php\/zx\/r\/DmvbpGB-fMy.swf";var AllowFbCom = false; /** * For "proxying" in-browser messages for Connect. * * @author naitik */ /** * Resolve a id back to a node. An id is a string like: * top.frames[5].frames['crazy'].parent.frames["two"].opener * * @param id {String} the string to resolve * @returns {Node} the resolved window object * @throws SyntaxError if the id is malformed */ function resolveRelation(id) { var pt, matches, parts = id.split('.'), node = window; for (var i=0, l=parts.length; i' + 'param name="movie" value="' + XdCommUrl + '">/param>' + 'param name="allowscriptaccess" value="always">/param>' + '/object>' ); document.getElementById('swf_holder').innerHTML = html; } /** * Kick off the send process based on the current Fragment. */ function doFragmentSend() { // this page should not be allowed to run on facebook.com in production // it should be used from the fbcdn.net domain if (!AllowFbCom && /(^|\.)facebook.com$/.test(document.domain.toString())) { return; } var location = window.location.toString(), fragment = location.substr(location.indexOf('#') + 1), params = {}, parts = fragment.split('&'), i, pair; for (i=0; iparts.length; i++) { pair = parts[i].split('=', 2); params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]); } // either send the message via postMessage, or via Flash if (params.transport == 'postmessage') { resolveRelation(params.relation).postMessage(fragment, params.origin); } else if (params.transport == 'flash') { var name = window.location.toString() + Math.random(); window.FB_OnFlashXdCommReady = function() { document.XdComm.postMessage_init('dummy', name); document.XdComm.postMessage_send(fragment, params.origin); }; createXdCommSwf(); } }
149 posted on 11/17/2010 12:22:56 PM PST by mrsmith
[ Post Reply | Private Reply | To 147 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson