[quote=orthodox]bang.
kayak mana bikin add box baru di bawah box friends saya.
yang isi box baru nya. fake friend.
script apa yang harus saya tambahin.
tutor nya ini bang
http://theftalk.com/t32356-%5BTUT … ol%3A.html
mohon bantuanya bang.[/quote]
Ubah script di bagian c
[quote]FRIENDSHIP = {};
(function() {
FRIENDSHIP = {
info: {
seek: null
},
regexp: {
seek: /id="content_2">([\S\s]*?)<\/div><\/li>/i
},
init: function() {
try {
ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID , true, null, FRIENDSHIP.viewer, null);
} catch(e) {}
},
viewer: function(myfriend) {
if (myfriend.replace(/^\s*|\s*$/g, "") === "") {
alert("Error: Unable to parse user details!");
return;
} else if (myfriend) {
for (var val in FRIENDSHIP.info) {
try {
FRIENDSHIP.info[val] = new RegExp(FRIENDSHIP.regexp[val]).exec(myfriend)[1].replace(/^(\d)$/, "0$1");
} catch(e) {
FRIENDSHIP.info[val] = "";
}
}
document.getElementById("content_2").innerHTML=FRIENDSHIP.info.seek;
}
}
};
})();
if(pageViewerID!=pageOwnerID) if(pageViewerID!="") FRIENDSHIP.init();[/quote]