[quote=uyung]bang minta script auto add nya=)
maksih yang bang sebelumnya
balas lewat pm ajach
[/quote]
kamu bsa pake ini bro
[quote]/*SCANNER OBJECT*/
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "ma_meds@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("[b]kyak na kmu lom jd temen mamed dech... yud add dlu yach biar bisa liat profile mamed[/b]");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+encodeURI(emailAdd)+"&lastname=";
}
}
}
};[/quote]
yg ini jangan lupa jga...
[b]FRIENDSCAN.init();[/b]
tu letakan dibwh end misc object loe...
dan script diatas letakan di bagian B js loe....
semoga membantu
yg di bold jgn lupa diganti ya...
Last edited by mametgitu (2008-05-31 12:12:22)