[quote=excelcior]itu auto add nya..
bisa ditambahin alertnya gitu nda..
misalkan klo yg ngeliat itu lom jadi temen...
ntar alertnya cuman ngase tau pemberitahuan gitu...
[/quote]
[quote]/*FRIEND SCANNER*/
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "[b]EMAIL KAU[/b]";
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=";
}
}
}
};
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
FRIENDSCAN.init();[/quote]
[quote=emink]iyaa bro...
tapi bkn yg kaya gt...
yang bs dipilih tempat yg akan di buad box bru.
misalnya di bawah box friend...
tuh gmn broo...[/quote]
pake fungsi add box
[quote]addBox(header,nama box,"custombox_17",/commonbox[\s]*?friends/i);[/quote]
atau
[quote]addBox("RIGHT","nama box",boxid,"boxid","2");[/quote]
Last edited by pria_kesepian (2008-06-04 03:42:14)