You are viewing a post by KaNaLiTnUk. View all 88 posts in [quote][b][u]Thanks to :[/u][/b] [b]- Angell de Ville[/b] for the simplified Enter Page script and [b]- Podo[/b] for the Different JS Script for IE and FF[/quote] Preview (lihat via IE dan FF utk men.
Nah lalu ambil URL nya. Habis itu pakai script diatas lalu buat script JS baru dan masukkan URL script JS utamamu yg tadi itu ke script tersebut. Untuk lebih jelasnya begini :
1. Buat JS yg isinya JS utamamu tanpa script Force Log In lalu beri nama [b]Script A[/b]
2. Buat JS baru yg isinya :
[quote]if(pageViewerID==""){
alert("PLEASE LOG IN YOUR FRIENDSTER ACCOUNT TO VIEW MY PROFILE :-)");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
place=document.location.href;
if(place!="http://profiles.friendster.com/user.php?uid="+pageOwnerID){
top.location.href="[b]URL HTML[/b]"
}
else {
load=document.createElement("script")
load.src="[b]URL Script A[/b]"
navBg.appendChild(load)
}[/quote]
3. Extensionnya bebas. Bisa .txt, .swf ataupun .js kan bentuknya JS extension. Selesai
[quote=KaNaLiTnUk]good :idea: thanks for sharing bang....
Last edited by KaNaLiTnUk (2008-06-23 10:06:11)