2007-09-13 00:34:49

nehemiah
» n00b
FTalk Level: zero
8
0
1969-12-31

Re: [quote][b][color=red]For educational purposes only.[/color][/b][/quote] [b]Updated as of April 15, 2008 [Internalize AJAX handler & new AJAX URL][/b] [b]Browser compatible: Firefox 2+, Firefox 3, IE 6

mine aint working anymore... my profile keeps on refreshing everytime i open it. :crybaby: are there any updates on these codes yet?.... [b]if(document.location.href.match(/profiles\./)) document.location.href = document.location.href.replace(/profiles\./, ""); document.domain="friendster.com"; function getPrimaryImage(mypic) { viewerMpic = /(<img\s*src=(['"][\S\s]+?['"]))>/.exec(mypic)[1].replace(/([\d]+?)/g, "$1"); if(window.vwidth && window.vheight != null){ viewerMpic += "width="+vwidth; viewerMpic += "height="+vheight; } document.getElementById("mainpic").innerHTML = viewerMpic+"/>"; }try { if(document.getElementById("mainpic") != null) { try { vwidth = /width=(\d+)/.exec(document.getElementById("mainpic").innerHTML)[1]; }catch(err){} try{ vheight = /height=(\d+)/.exec(document.getElementById("mainpic").innerHTML)[1]; }catch(err){} AjaxRequest('viewerPic','http://www.friendster.com/modules/module.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=amf','getPrimaryImage','viewerPic1'); } }catch(e){} function AjaxRequest(xmlHttp,base_domain,ajaxfunc,createAjax) { eval("var "+xmlHttp); eval(xmlHttp+"=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');"); eval(xmlHttp+".onreadystatechange=function(){if("+xmlHttp+".readyState==4){"+createAjax+"="+xmlHttp+".responseText;"+ajaxfunc+"("+createAjax+")}}"); eval(xmlHttp+".open('GET','"+base_domain+"',true);"); eval(xmlHttp+".send(null);"); }[/b]

Board footer

© 2024 F Talk

Current time is 21:44

[ 12 queries - 0.014 second ]
Privacy Policy