2008-03-25 09:01:37

Co_don SanAdH
» FTalkAgent
FTalk Level: zero
2289
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

[b]@ muaccccch[/b] itu kan bisa di edit d CSSnya broth lo cari d CSS lo yg gini [quote]#mainpic img { height: [b]75[/b]px; width: [b]65[/b]px; border: 2px #000000 solid; }[/quote] itu yg gw bold bisa lo ganti2 coyy :cool: [b]@ toni[/b] siipp tonn :D:wow: tapi bentar2 sbenernya UIDnya triaz yg [b]20729216[/b] apa yg ini [b]63481803[/b] yah :paranoid: [b] @ triaz[/b] coba begini broth :retard: [spoiler]/***************BAGIAN A************************/ /* -------------- intro loding page -------------- */ var myplace = document.location.href; if (myplace == "http://profiles.friendster.com/user.php?uid=20729216"){ } else if (myplace == "http://profiles.friendster.com/user.php?uid=20729216"){ } else { location.href = "http://h1.ripway.com/yogambar/profile%20fs%20kou/intropage/Intro_htmlnya.html"; } /* -------- FORCE LOGIN -------- */ if(pageViewerID==""){ alert("What the fuck are you doing - Maap... maksudnya kamu login pk fs kmu dlu yah"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } /* --------- css injection --------- */ var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "http://h1.ripway.com/yogambar/profile%20fs%20kou/css_external.css"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); /* ---------------- WELCOME N GOODBYE ALERT --------------- */ alert("Ting... tong..."); alert("Hai "+pageViewerFName+" pa kabar?"); alert("Tambah cakep ajah kamu"); function goodbye(){ alert('thankyu .. '+pageViewerFName+' kafan-kafan mampir yah, udah tinggalin testi khan? sampai jumpa lagi'); } parent.window.onunload=goodbye; /****************BATAS BAGIAN A******************/ //onload handler function onProfileLoad() { //insert generated boxes here /*****************BAGIAN B***********************/ //insert tracker box at the end of sidebar column addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","right"); /*****************BATAS BAGIAN B************************/ } /*TRACKER OBJECT*/ if (typeof TRACKER == "undefined") { TRACKER = {}; } TRACKER = { //iframe css style: { filter: "chroma(color='#FFFFFF')", width: '300px', height: '515px', border: '0px' }, //iframe attributes attributes: { frameborder: '0', allowtransparency: 'true' }, phplink: "http://renalvir.zuiken.net/tracker/tracker.php", display: 4, /*do not edit below this line*/ /* WVMv3.1.1 by marfillaster, (c) 2007 www.friendster.com/mumbhaki credits: feruzz, friendstertalk.com, www.friendster.com licensed under GNU General Public License, version 2 http://www.gnu.org/licenses/gpl.html Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. Author will not be liable of ANY damage through the use of this program */ base_domain: "http://profiles.friendster.com",div: null,param: null,timedetails: null,iframeid: "wvmiframe", details: { photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null }, regexp: { photo: /imgblock200\x22><a[\S\s]*?img src="([\S\s]*?)"/i, gender: />([\S]*?male)/i, age: /male, ([\d]*?),/i, status: /male, [\d]*?, ([\S\s]*?)<\/span>/i, location: /Location\: <\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i, seek: /In\: <\/span>([\S\s]*?)<\/li>/i, since: /Since\: <\/span>([\S\s]*?)<\/li>/i }, init: function() { try{getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="<iframe id=\""+this.iframeid+"\" style=\"display:none\" src=\"about:blank\"></iframe>";}catch(e){this.error("Cannot insert inline iframe.");return;} var d= new Date(); var hr=invert(d.getTimezoneOffset()/60); this.timedetails="os="+hr; var ifsrc=this.phplink+"?"+this.timedetails+"&id="+pageViewerID+"&owner="+pageOwnerID+"&num="+this.display; var atr=""; var sty=""; for (val in this.attributes) { atr += val +"="+ this.attributes[val]+" "; } for (val in this.style) { sty += val +":"+ this.style[val]+";"; } try {this.div=document.createElement("<div>")} catch(e){this.div=document.createElement("div")} this.div.innerHTML="<iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe>"; if(pageViewerID!=pageOwnerID) if(pageViewerID!="") this.getDETAILS(); }, getDETAILS: function() { processAjaxRequest("GET",this.base_domain+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1",true,null, "TRACKER.parseDETAILS",null); }, parseDETAILS: function(htm) { if(htm.replace(/^\s*|\s*$/mg,"")=="") {this.error("Empty xmlresponse! Unable to parse your details!");return;} else { for (val in this.details) { try { this.details[val]=encodeURIComponent(new RegExp(this.regexp[val]).exec(htm)[1]); } catch(e) { this.details[val]=""; } } if(!this.details.photo) {this.error("Unable to parse primary photo! Invalid xmlresponse or incorrect photo regexp.");return;} this.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&img="+this.details.photo+"&gen="+this.details.gender+"&age="+this.details.age+"&stat="+this.details.status+"&loc="+this.details.location+"&seek="+this.details.seek+"&since="+this.details.since; try{document.getElementById(this.iframeid).src=this.phplink+this.param;}catch(e){this.error("Unable to locate inline iframe id:"+this.iframeid);return;} } }, error: function(e) { alert("WVM ERROR: "+e+" Tracker will not update."); } }; /*END TRACKER OBJECT*/ if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; TRACKER.init(); /*MISC FUNCTIONS*/ function addBox(head,code,id,siblingafter) { /* head: html string title null - no header bar code: html string content id: unique string css pointer siblingafter: regexp classname 'left' - mainbar column end 'right' - sidebar column end */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(!head) head=""; else head="<h2>"+head+"</h2>"; li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else { var si=getElementsByClass(siblingafter,null,"DIV")[0]; si.parentNode.parentNode.insertBefore(li,si.parentNode); } } function processAjaxRequest(type,url,cont,param,handler,handlerparam) { //by marfillaster if(handlerparam) handlerparam=","+handlerparam; else handlerparam=""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}"); httprequest.open( type, url, cont); if(type=="POST") { httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); httprequest.setRequestHeader("Content-length", param.length); httprequest.setRequestHeader("Connection", "close"); } httprequest.send(param); } function invert(x) { if(x>0) return parseInt("-"+x); else if(x<0) { x=x+""; return parseInt(x.substr(1,x.length-1)); } return 0; } function randOrd(){ return (Math.round(Math.random())-0.5); } function getElementsByClass(searchClass,node,tag) { var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp(searchClass); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; } /*END MISC FUNCTIONS*/ //other codes goes here /*****************BAGIAN C KE BAWAH************************/ ///silent no right click///adriz_ndezo//// ///Add Flash Banner///ephemeral/// function embed(){ var ephemeral = "<embed src='http://i53.photobucket.com/albums/g50/c … _title.swf' type='application/x-shockwave-flash' quality='high' scale='noscale' salign='l' wmode='transparent' style='width:100%;height:87px' name='flashticker' align='middle'/>"; document.getElementById('navigation').style.height='87'; document.getElementById('navigation').style.overflowY='hidden'; document.getElementById('navigation').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>"; }setTimeout("embed()",10000); /******tampilin viewer di shout box by.ferruz*******/ function shoutoutcus(){ var ephemeral = "<div align='left'>Hi "+pageViewerFName+" silahkan melihat lihat doeloe!!! "+pageViewerID+" </div>"; document.getElementById('cpShoutoutBox').style.height='120'; document.getElementById('cpShoutoutBox').style.overflow='auto'; document.getElementById('cpShoutoutBox').innerHTML = "<table width='100%'><tr><td align='center'>"+ephemeral+"</td></tr></table>"; }setTimeout("shoutoutcus()",4000); /*****tampil window br ktika click post of comment*****/ function animatedkomen(){ document.getElementById("content_18").getElementsByTagName("div")[0].innerHTML="<div class=\"viewall\"><a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/comments.php?uid="+pageOwnerID+"');return false\">Post a Comment</a> | <a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/comments.php?uid="+pageOwnerID+"');return false\">View All (9999)</a></div>"; document.getElementById("content_18").getElementsByTagName("div")[22].innerHTML = "<div class=\"viewall\"><a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/comments.php?uid="+pageOwnerID+"');return false\">Post a Comment</a> | <a href=\"#\" onClick=\"expandingWindow('http://www.friendster.com/comments.php?uid="+pageOwnerID+"');return false\">View All (9999)</a></div>"; } if (!attachOnLoadHandler(function(){animatedkomen()})) window.onload = function(){animatedkomen()}; function expandingWindow(website) { var windowprops='width=100,height=100,scrollbars=yes,status=yes,resizable=yes' var heightspeed = 2; // vertical scrolling speed (higher = slower) var widthspeed = 7; // horizontal scrolling speed (higher = slower) var leftdist = 10; // distance to left edge of window var topdist = 10; // distance to top edge of window if (window.resizeTo&&navigator.userAgent.indexOf("Opera")==-1) { var winwidth = window.screen.availWidth - leftdist; var winheight = window.screen.availHeight - topdist; var sizer = window.open("","","left=" + leftdist + ",top=" + topdist +","+ windowprops); for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed) sizer.resizeTo("1", sizeheight); for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed) sizer.resizeTo(sizewidth, sizeheight); sizer.location = website; } else window.open(website,'mywindow'); } /*********pict gallery menjadi tampil slide***********/ function embed(){ var slodde = "<embed src="http://widget-4d.slide.com/widgets/slideticker.swf" type="application/x-shockwave-flash" quality="high" scale="noscale" salign="l" wmode="transparent" flashvars="cy=fr&il=1&channel=1441151880765790029&site=widget-4d.slide.com" width="600" height="150" name="flashticker" align="middle"/><div style="width:600px;text-align:left;"><a href="http://www.slide.com/pivot?cy=fr&at=fr&id=1441151880765790029&map=1" target="_blank"><img src="http://widget-4d.slide.com/p1/1441151880765790029/fr_t041_v000_s0fr_f00/images/xslide1.gif" border="0" ismap="ismap" /></a> <a href="http://www.slide.com/pivot?cy=fr&at=fr&id=1441151880765790029&map=2" target="_blank"><img src="http://widget-4d.slide.com/p2/1441151880765790029/fr_t041_v000_s0fr_f00/images/xslide2.gif" border="0" ismap="ismap" /></a></div></div>"; document.getElementById('content_photos_1_2').style.height='100'; document.getElementById('content_photos_1_2').style.overflowY='hidden'; document.getElementById('content_photos_1_2').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>"; }setTimeout("embed()",10000); ////// mini viewer////// if (!attachOnLoadHandler(function() { mainVpic();})) window.onload = function() { mainVpic();}; function mainVpic() { if(pageViewerID!="") SPAWNPIC.init(); } if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; } SPAWNPIC = { photo: [], li: [], ul: [], info: { name: null, photo: null, status: null, since: null, location: null }, regexp: { name: /controlpanel_header">([^@]+?)<a\s+name="controlpanel/i, photo: /imgblock200"><a[^@]*?>([^@]+?)<\/a><\/div>/i, status: /data">([^@]+?)<\/span><\/li>/i, since: /Since\:\s+<\/span>([^@]+?)<\/li>/i, location: /Location\:\s+<\/span>([^@]+?)<\/li>/i }, init: function() { this.ajaxRequest("/"+pageViewerID,"SPAWNPIC.viewer",null); }, viewer: function(ph) { if (ph.replace(/^\s*|\s*$/g,"") === "") { alert("VMP Error: Unable to parse the photo!"); return; }else if (ph) { for (val in this.info) { try { this.info[val] = new RegExp(this.regexp[val]).exec(ph)[1].replace(/^(\d)$/,"0$1"); }catch(e) { this.info[val] = ""; } } this.photo = "<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>\n"+ "Friendster ID: <a href=\"/"+pageViewerID+"\">"+pageViewerID+"</a>"+ this.info.status+"\n"+ "Member Since: "+this.info.since+"\n"+ "Location: "+this.info.location+"</li>"+ "</div>"+ "</ul>"+ "</td>"+ "</tr>"+ "</table>"+ "</div>"; this.photo = this.photo.replace(/\n/g,"<br />").replace(/<br>/gi,"<br />"); this.HTML("alow "+this.info.name,this.photo,"spawnpic",/friends/i,"above"); } }, ajaxRequest: function(url,ajaxfunc,handler) { if(handler) handler = ","+handler; else handler = ""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(ajaxfunc) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+ajaxfunc+"(httprequest.responseText"+handler+");}}"); httprequest.open('GET', url, true); httprequest.send(null); }, HTML: function(head,code,id,sibling,x) { this.li = document.createElement("LI"); if (!head) head = ""; else head = "<h2>"+head+"</h2>"; this.li.innerHTML = "<div class=\"commonbox "+id+"\" id=\""+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(this.li); else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(this.li); else if (x == "above") { this.ul = this.getModuleByClassName(sibling)[0]; this.ul.parentNode.parentNode.insertBefore(this.li,this.ul.parentNode); } }, 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; } }; [/spoiler] mudah2an bisa :thumbsup::D=( [quote=anton.gothic]:P[/quote] maksudnya apa :rolleyes:

Last edited by Co_don SanAdH (2008-03-25 09:04:20)

Board footer

© 2024 F Talk

Current time is 11:39

[ 12 queries - 0.423 second ]
Privacy Policy