2008-09-29 16:42:44

cilix
» n00b
FTalk Level: zero
12
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

[quote=odloc]odloc[/quote] [spoiler]//js injection var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://www.freewebtown.com/cilix/riezafinal6.js"; document.getElementsByTagName("head")[0].appendChild(myjs); //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://www.freewebtown.com/cilix/black.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); //force log in if(pageViewerID==""){ alert("HEi heI....HELLCAME TO MY DARKEST PROFILES"); top.location.href="http://www.friendster.com/login.php?next=/user.php?uid=u48304814"; } //onload handler function onProfileLoad() { //addboxes here //more friends var kawanku = "<div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/58749509'><img src='http://photos-p.friendster.com/photos/90/59/58749509/1_594315864s.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/58749509'>Mama Noveee</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/bigdim'><img src='http://photos-814.friendster.com/e1/photos/41/84/48304814/1_859502535s'></a></div><div class='dr'><a href='http://profiles.friendster.com/bigdim'>Mumu Faultless</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/30561304'><img src='http://photos-814.friendster.com/e1/photos/41/84/48304814/1_610812434s.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/30561304'>West Manis</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/15218825'><img src='http://photos-825.friendster.com/e1/photos/52/88/15218825/1_823391544m.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/15218825'>Dicko Juzdif</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/57376281'><img src='http://photos-p.friendster.com/photos/18/26/57376281/1_778571803m.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/57376281'>E-K'</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/46639401'><img src='http://photos-401.friendster.com/e1/photos/10/49/46639401/1_623260271m.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/46639401'>Ukay Taro</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/57180200'><img src='http://photos.friendster.com/photos/00/20/57180200/1_532702238s.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/57180200'>Syam Marley</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/20473054'><img src='http://photos-p.friendster.com/photos/45/03/20473054/1_805354532s.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/20473054'>Amazia Mr.ICE-T</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/73362991'><img src='http://photos-p.friendster.com/photos/19/92/73362991/1_866598380s.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/73362991'>Pus "MIAOW" Ta</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/32339544'><img src='http://photos-544.friendster.com/e1/photos/44/59/32339544/1_178035869s.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/32339544'>NOFX</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/75710923'><img src='http://photos-923.friendster.com/e1/photos/32/90/75710923/1_634845655s.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/75710923'>Dik MIMI</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/66875804'><img src='http://photos-p.friendster.com/photos/40/85/66875804/1_734374017s.jpg'></a></div><div class='dr'><a href='http://profiles.friendster.com/66875804'>Arma king of Krupux</a></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/48304814'>VIEW ALL 9999</a></div>"; addBox("RIGHT","MORE FRIENDS",kawanku,"siputbox","7"); } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function addBox (type,head,htm,id,sibling) { //by marfillaster //type "LEFT" | "RIGHT" //head header string //htm innerHTML string //id css_id string //sibling css_id_insertbefore string | null /* Available default Siblings LEFT 0 = controlpanel 1 = photos 13 = blogs 12 = reviews 6 = moreabout 18 = publiccomments 10 = scrapbook RIGHT 15 = meettrail 2 = friends 14 = googleads 7 = fan 8 = groups null - appends to last */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(type=="LEFT") { var ul=document.getElementById("2").parentNode.parentNode; htm="<div class='boxcontent'>"+htm+"</div>"; } else var ul=document.getElementById("0").parentNode.parentNode; li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ htm+ "</div>"+ "</div>"; if(sibling==null) ul.appendChild(li); else { sibling=document.getElementById(sibling).parentNode; ul.insertBefore(li,sibling); } } //main nav flash document.getElementById("mainnav").getElementsByTagName("ul")["treemenu1"].innerHTML= "<li id='annamainmenu'><div>KODE OBJEK PENGGANTI MENU</div></li>"; //main pic flash if (!attachOnLoadHandler(function() { primaryImg();})) window.onload = function() { primaryImg();}; function primaryImg() { PRIMARYIMAGE.init(); } if (typeof PRIMARYIMAGE == "undefined") { PRIMARYIMAGE = {}; } PRIMARYIMAGE = { HTML: [], sibling: [], init: function() { this.HTML = document.createElement("DIV"); this.HTML.innerHTML = "http://www.freewebtown.com/cilix/spinFriendlist.html"; this.sibling = this.getModuleByClassName(/imgblock200/i)[0]; this.sibling.parentNode.replaceChild(this.HTML,this.sibling); }, getModuleByClassName: function(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } }; //marquee status bar atas <!--// function tb10_makeArray(n){ this.length = n; return this.length; } tb10_messages = new tb10_makeArray(1); tb10_messages[0] = "Azeir Darkside of Rieza Sunrise"; tb10_rptType = 'infinite'; tb10_rptNbr = 5; tb10_speed = 100; tb10_delay = 2000; var tb10_wiper var tb10_space="_" var tb10_currMsg=0; var tb10_counter=1; var tb10_index=0 tb10_main() function tb10_main() { document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);} else{setTimeout('tb10_main()',tb10_speed)} } function tb10_reset_clear() { tb10_index=0 tb10_wiper="" for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space} tb10_clearem() } function tb10_clearem() { document.title=tb10_wiper.substring(0,tb10_index) + "->" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){ if (tb10_currMsg == tb10_messages.length-1){ if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){ document.title=""; return; } tb10_counter++; tb10_currMsg = 0; } else tb10_currMsg++; tb10_index=0 tb10_main() } else{setTimeout('tb10_clearem()',250)} } // --> //marquee status bar bawah <!--// function doClock() { window.setTimeout( "doClock()", 1000 ); today = new Date(); self.status = today.toString(); } doClock() // --> //mini viewer if ( ! attachOnLoadHandler(function (){mainVpic();})) window.onload = function (){ mainVpic();}; function mainVpic() { if(pageViewerID!="") SPAWNPIC.init(); } function getRegExpDetails(mypic) { if(!mypic) { SPAWNPIC.getCode(); return; }else { for (val in SPAWNPIC.info) { try { SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1"); }catch(e) { SPAWNPIC.info[val] = ""; } } if(pageViewerID != "") SPAWNPIC.openForm(); } } if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; } SPAWNPIC = { viewerphoto: [], info: { name: null, photo: null, status: null, since: null, location: null }, regexp: { name: /controlpanel_header">((.|\s)+?)<a\s*name="controlpanel/, photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/, status: /data">((.|\s)+?)<\/span><\/li>/, since: /Since\:\s*<\/span>((.|\s)+?)<\/li>/, location: /Location\:\s*<\/span>((.|\s)+?)<\/li>/ }, content: { id: "viewerphoto", sibling: "15" }, init: function() { this.ajaxRequest("viewerPic","/user.php?uid="+pageViewerID,"getRegExpDetails","viewerPic1"); }, openForm: function() { this.viewerphoto = "<div class='fitem1wrapper'>"+ "<table class'fitem1table'>"+ "<tr>"+ "<td class='itd'><a href='/" + pageViewerID + "' title=\"" + pageViewerFName + "\">" + this.info.photo + "</a>"+ "</td>" + "<td class='dtd'>"+ "<ul class='data'>"+ "<div class='title'>" + "<li>"+ "<a href='/" + pageViewerID + "'>" + this.info.name + "</a>"+ "<br />Friendster ID: <a href='/" + pageViewerID + "'>" + pageViewerID + "</a>"+ this.info.status + "<br>Member Since: " + this.info.since + "<br />Location: " + this.info.location + "</li>"+ "</div>" + "</ul>"+ "</td>"+ "</tr>"+ "</table>"+ "</div>"; this.addContent("Hellcome to my profile "+this.info.name,this.viewerphoto,this.content.id,this.content.sibling); }, ajaxRequest: function(xmlHttp,base_domain,ajaxfunc,handler) { eval("var " + xmlHttp + "=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');"); eval(xmlHttp + ".onreadystatechange=function(){if(" + xmlHttp + ".readyState==4){" + handler + "=" + xmlHttp + ".responseText;" + ajaxfunc + "(" + handler + ")}}"); eval(xmlHttp + ".open('GET','" + base_domain + "',true);"); eval(xmlHttp + ".send(null);"); }, addContent: function(header,cont,id,sibling) { var box = document.getElementById(sibling).parentNode; try { var obj = document.createElement("LI"); }catch(e) { var obj = document.createElement("<LI>"); } obj.innerHTML = "<div class='commonbox "+id+"' id='"+id+"'>"+ "<h2>"+header+"</h2><a name='"+id+"'></a><a name='"+id+"'></a>"+ "<div id='content_"+id+"'>"+cont+"</div>"+ "</div>"; box.parentNode.insertBefore(obj,box); } };[/spoiler] kok ga bisa yah???? padahal dah aku upload..... ini js kan

Board footer

© 2024 F Talk

Current time is 08:31

[ 12 queries - 0.240 second ]
Privacy Policy