[quote=samme][quote=monkey d. luffy]nice one... can u luk at my page if it works??coz i didnt have another acct.hehehe
[/quote]
u can actually see its result even if ur viewing ur own profile...
[/quote]
ahhh, so it means that the code didnt work on mine, huhu
this is what i paste at my .js
if(document.location.toString().match(/profiles.friendster/) != null) document.location=document.location.toString().replace(/profiles.friendster/, "www.friendster");
function getPrimaryImage(mypic) {
viewerMpic = /(<img\s*src=(['"][\S\s]+?['"]))>/.exec(mypic)[1].replace(/([\d]+?)/g, "$1");
document.getElementById("mainpic").innerHTML = viewerMpic+"/>";
}try {
viewerMpic = document.write("<style type=text/css>#mainpic img{width:120px;height:120px}</style>");
}catch(e) {
viewerMpic = document.createElement("<style type=text/css>");
}try {
if(document.getElementById("mainpic") != null) {
var FsDomain = "http://www.friendster.com";
var spawnPiCMsg = "<center><font face='Arial' size='2' color='#0A3B22'>WANTED!!!!!</font>"+
"<a href='http://www.friendster.com/"+pageViewerID+"' title='"+pageViewerFName+"' target='_blank'><div id='mainpic'></div></a>"+
"<font face='Arial' size='2' color='#0A3B22'>100cents</font></center>";
document.getElementById("cpShoutoutBox").childNodes[0].innerHTML=spawnPiCMsg;
AjaxRequest("viewerPic", FsDomain+"/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+"=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);");
}
what wrong with the codes??