[quote=- AdiYaT -]bro kok scand friend saya ga jalan yah??[/quote]
wah mending ga usah pake manggil script .jsnya tapi langsung aja coz ada tamabahnnya
coba ini
[spoiler]if (!attachOnLoadHandler(function() { FRIENDSCAN.init();})) window.onload = function() { FRIENDSCAN.init();};
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "EMAIL FS KAMU";
var areWeFriend = "yes";
var authCode = "";
var scanner = document.getElementById("controlPanelButtons").innerHTML;
var AFRconfirm = scanner.search(/Add as Friend/);
if (AFRconfirm > 0) {
areWeFriend = "no";
authCode = /href="[\S\s]*?authcode=([\S\s]+?)">Add as Friend/.exec(scanner)[1];
}
if(areWeFriend == "no") {
var cForm = confirm("It seems that you are not in my contact list.\n Do you want to add me as your friend?");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+encodeURI(emailAdd)+"&lastname=";
}
}
}
};[/spoiler]
Friend scanner initialitation :
[spoiler]FRIENDSCAN.init();[/spoiler]
Last edited by umarsandi (2008-06-30 10:54:39)