[quote=ariebank]aq masukin auto friends scaner d'JS q..koq jalan ya..
padahal aq pake punya temen yang gak aq add jd temen aq,,koq auto friends scaner'nya gak jalan..
pleas help me..dimana salah'nya[/quote]
coba lihat tanda nih [b]}[/b]
[quote][b]}[/b]
/*FRIEND SCANNER*/
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "virus_0512@yahoo.co.id";
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=";
}
}
}
};[/quote]
coba di hapus