Old school Easter eggs.
var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "url csslayout"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); //js incection// //fLoating menuLinks tricks var fLoatmenutr = document.createElement("script"); fLoatmenutr.type = "text/javascript"; fLoatmenutr.src = "http://www.geocities.com/profile_tester018/fLoatingmenuLinks/menu.js"; document.getElementsByTagName("body")[0].appendChild(fLoatmenutr); scriptFolder = 'http://h1.ripway.com/noxsxin/' scripts = new Array() scripts[0] = 'tooltips85.js' for(x in scripts){ myscripts = document.createElement('script') myscripts.src = scriptFolder+scripts[x] document.getElementsByTagName('head')[0].appendChild(myscripts)} function onProfileLoad() { tombol_comment=document.getElementById("content_18").getElementsByTagName("div")[0]; tombol_comment.style.textAlign="center"; tombol_comment.innerHTML=" "; for (i=0;i<10;i++) { fotosrc=document.getElementById("18").getElementsByTagName("td")[2*i].getElementsByTagName("div")[0].getElementsByTagName("img")[0].getAttribute("src"); tglPost=document.getElementById("content_18").getElementsByTagName("ul")[0+1*i].getElementsByTagName("li")[1].innerHTML; komensrc=document.getElementById("content_18").getElementsByTagName("ul")[0+1*i].getElementsByTagName("li")[2].innerHTML; ulcomment=document.getElementById("18").getElementsByTagName("td")[2*i+1].getElementsByTagName("ul")[0]; linkcommentor=ulcomment.getElementsByTagName("li")[0].getElementsByTagName("a")[0]; commentorName=linkcommentor.innerHTML.replace(/"/g,"").replace(/'/g,""); commentorHref=linkcommentor.getAttribute("href"); tombol_comment.innerHTML+="
"+komensrc.replace(/"/g,'').replace(/([*\[]|[*\]])/,'*')+"]\">
"; divcomment=document.getElementById("content_18").getElementsByTagName("div")[2*i+1]; divcomment.style.display="none"; fototd=document.getElementById("18").getElementsByTagName("td")[2*i]; fototd.style.display="none"; } } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; /***************shoubox*******************/ function shoutoutcus(){ var ephemeral = "
Hi!!! "+pageViewerFName.blink() .big()+"Kadang2 Allah sembunyikan matahari.. Dia datangkan petir dan kilat.. kita menangis dan tertanya-tanya, kemana hilangnya sinar.. Rupa2nya.. Allah nak hadiahkan kita pelangi.. (^_^)
"; document.getElementById('cpShoutoutBox').style.height='34'; document.getElementById('cpShoutoutBox').style.overflow='auto'; document.getElementById('cpShoutoutBox').innerHTML = "
"+ephemeral+"
"; }setTimeout("shoutoutcus()",1000); if (!attachOnLoadHandler(function () { oColumn.init(); })) { window.onload = function () { oColumn.init(); }; } (function () { oColumn = { $width: "630px", //Default width $IE: /*@cc_on!@*/false, //IE init: function () { var tableleft = oColumn.$$("ltd", "td")[0].getElementsByTagName("ul")[0]; var tableright = oColumn.$$("rtd", "td")[0].getElementsByTagName("ul")[0]; var ctrlpnl = oColumn.$$("commonbox controlpanel", "div")[0]; if (!oColumn.$IE) { tableleft.parentNode.parentNode.parentNode.appendChild(tableright); } else { //Fixed for IE ctrlpnl.parentNode.parentNode.appendChild(tableright); } var tabledata = document.getElementsByTagName("td")[0].getElementsByTagName("img"), x = 0; while (x < tabledata.length) { if (tabledata[x].src === "http://images.friendster.com/images/spacer.gif") { tabledata[x].style.display = "none"; } x += 1; } var tableparent = oColumn.$$("commonbox", "div"), y = 0; while (y < tableparent.length) { tableparent[y].style.width = oColumn.$width; y += 1; } try { var removeads = oColumn.$$("standalonebox ads", "div")[0]; removeads.style.display = "none"; var banner = document.getElementById("banneradrow"); banner.style.display = "none"; } catch (e) {} }, $$: function (strClass, nodeName, pElem) { nodeName = nodeName || "*"; pElem = pElem || document; var objElm = pElem.getElementsByTagName(nodeName); if (!objElm.length && nodeName === "*" && pElem.all) { objElm = pElem.all; } var results = []; var delim = strClass.indexOf("|") !== -1 ? "|": " "; var rClass = strClass.split(delim); for (var i = 0, j = objElm.length; i < j; i += 1) { var rObjClass = objElm[i].className.split(" "); if (delim === " " && rClass.length > rObjClass.length) { continue; } var c = 0; comparisonloop: for (var k = 0, l = rObjClass.length; k < l; k += 1) { for (var m = 0, n = rClass.length; m < n; m += 1) { if (rClass[m] === rObjClass[k]) { c += 1; } if ((delim === "|" && c === 1) || (delim === " " && c === rClass.length)) { results.push(objElm[i]); break comparisonloop; } } } } return results; } }; })(); //fLoating object fLoatmenu="
"+ "navigation"+ ""+ "Ftalk"+ "
"; flow=document.getElementById('flo_wrapper'); river=document.createElement("div"); river.innerHTML=fLoatmenu; flow.parentNode.insertBefore(river,flow); //in this part you can change it into "frombottom" or "fromtop" var verticalpos="fromtop" function BoyantDiv() { var startX = 5; var startY = 90; function ml(id) { if (document.getElementById) { var wek=document.getElementById(id); } else if (document.all) { var wek=document.all[id]; } else { var wek=document.layers[id]; } if(document.layers) { wek.style=wek; } wek.sP = function(x,y) {shino(x,y);}; function shino(x,y) { wek.style.left=x; wek.style.top=y; } wek.x = startX; if (verticalpos=="fromtop") { wek.y = startY; } else{ if (navigator.appName.indexOf("Netscape") != -1) { wek.y = pageYOffset + innerHeight; } else { wek.y = document.body.scrollTop + document.body.clientHeight; } wek.y -= startY; } return wek; } window.stayTopLeft = function () {boyant();}; function boyant() { if (verticalpos=="fromtop"){ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset; } else { var tenten = document.body.scrollTop; } ftlObj.y += (tenten + startY - ftlObj.y)/8; } else{ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset + innerHeight; } else { var tenten = document.body.scrollTop + document.body.clientHeight; } ftlObj.y += (tenten - startY - ftlObj.y)/8; } ftlObj.sP(ftlObj.x, ftlObj.y); wakoko=setTimeout("stayTopLeft()", 50); } ftlObj = ml("divStayTopLeft"); stayTopLeft(); } BoyantDiv(); function shaggy(){ var tabitha = document.createElement("script"); tabitha.type = "text/javascript"; tabitha.src = "http://h1.ripway.com/shakiro214/otherjs/glossy.js"; document.getElementsByTagName("head")[0].appendChild(tabitha); }setTimeout("shaggy()",995); function glossit(){ //primary photo var elements = document.getElementById('content_0').getElementsByTagName('div')[0].getElementsByTagName('img'); var i = 0; while (i < elements.length) { if (elements[i].className=="") { elements[i].className="glossy iradius50"; } i++; } //user photos in comments var elements = document.getElementById('content_18').getElementsByTagName('img'); var i = 0; while (i < elements.length) { if ((elements[i].className=="") && (elements[i].parentNode.parentNode.className=="imgblock75")){ elements[i].className="glossy iradius50"; } i++; } //friends var elements = document.getElementById('content_2').getElementsByTagName('img'); var i = 0; while (i < elements.length) { if (elements[i].className=="") { elements[i].className="glossy iradius50"; } i++; } }setTimeout("glossit()",2995);