[quote=cleio][quote=Ladybug]hehe.. cleio is the best deh poko'e..
sekarang bantuin aku ya brow?
[/quote]
ya udah kalo gitu kamu ganti dengan cara kamu yg lama aja non
gampang kan?
emang selain itu, apa ada masalah yg laen?
linker js di fs kamu masih oke alias ga kepilter kan?[/quote]
ada masalah laen yang lama bro.. pake cara lama itu, code2nya bnyk yg gak jalan.
Ini isi
http://h1.ripway.com/Pipitaja/Alert.js:
[quote]var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/Pipitaja/Tracker/tracker.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
function injectcss() {
if(window.cssinjected == undefined) {
cssinjected = 1;
var css = document.createElement("link");
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/Pipitaja/centertext.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
try{
document.createStyleSheet("http://h1.ripway.com/Pipitaja/centertext.css");
}
catch(e){
document.write("<link rel='stylesheet' type='text/css' href='http://h1.ripway.com/Pipitaja/centertext.css'>");
}
{
HiViewernaLadybug();
welcometext();
};
function HiViewernaLadybug()
{
if (parent.pageViewerFName=="") //kalo ga ga pake fs viewna
{
alert('Sorry, kalo mau masuk kamu harus login dulu. OK?');
top.location.href="http://www.friendster.com"; //suruh login
}
else
{
alert('ci luk baaa...!!');
alert('Hai\n'+parent.pageViewerFName+'\n(^-^)/');
}
}
function ByeTamu()
{alert('Thanx ya, '+parent.pageViewerFName+'! Kapan-kapan datang lagi ya?');}
window.onbeforeunload = function ()
{ByeTamu();
};
<!--//
//Arrow Head title- By Dynamic Drive
//Based on status bar script by Jason Rex (wonil4@hotmail.com,
http://www.syred.net)
//Visit
http://www.dynamicdrive.com for full source code
//change title text to your own
var titletext="]-[ "+pageViewerFName+" ]-["
var thetext=""
var started=false
var step=0
var times=1
function welcometext()
{
times--
if (times==0)
{
if (started==false)
{
started = true;
document.title = titletext;
setTimeout("anim()",1);
}
thetext = titletext;
}
}
function showstatustext(txt)
{
thetext = txt;
setTimeout("welcometext()",4000)
times++
}
function anim()
{
step++
if (step==9) {step=1}
if (step==1) {document.title='Hi.. wuz up?...'+thetext+'!'}
if (step==2) {document.title='---------.. wuz up?...Hi'+thetext+'--------!'}
if (step=
) {document.title=' ----wuz up?...Hi..'+thetext+'------!'}
if (step==4) {document.title='---wuz up?...Hi.. '+thetext+'----!'}
if (step==5) {document.title='-------uz up?...Hi.. w'+thetext+'---!'}
if (step==6) {document.title=' -----up?...Hi.. wuz'+thetext+'-----!'}
if (step==7) {document.title='--up?...Hi.. wuz '+thetext+'-----!'}
if (step==8) {document.title='---?...Hi.. wuz up'+thetext+'-----!'}
}
if (document.title)
window.onload=onload=welcometext
// -->
document.getElementById("controlpanel_0").getElementsByTagName("ul")[1].innerHTML=
"<li><span class=\"q\"><img src='http://i191.photobucket.com/albums/z44/Puspitaindah/CoffeeBean-icon.gif'>Fun Fearless Female, 25, status terakreditasi A</span><br></li>"+
"<li><span class=\"q\"><img src='http://i191.photobucket.com/albums/z44/Puspitaindah/CoffeeBean-icon.gif'>P</span><br></li>"+
"<li><span class=\"q\"><img src='http://i191.photobucket.com/albums/z44/Puspitaindah/CoffeeBean-icon.gif'>I</span><br></li>"+
"<li><span class=\"q\"><imgsrc='http://i191.photobucket.com/albums/z44/Puspitaindah/CoffeeBean-icon.gif'>P</span><br></li>"+
"<li><span class=\"q\"><img src='http://i191.photobucket.com/albums/z44/Puspitaindah/CoffeeBean-icon.gif'>I<br></li>"+
"<li><span class=\"q\"><img src='http://i191.photobucket.com/albums/z44/Puspitaindah/CoffeeBean-icon.gif'>T<br></li>"+
"<li><span class=\"q\"><img src='http://i191.photobucket.com/albums/z44/Puspitaindah/CoffeeBean-icon.gif'>Url-ku: <a style=\"font-weight: normal;\" href=\"/Pipitbirdie\">http://profiles.friendster.com/pipitbirdie</a><br/></span><br></li>";
function moving() {
var marqueeFriends = document.getElementById('content_friends_2').innerHTML;
var liwzdar = document.getElementById('content_friends_2');
liwzdar.innerHTML ="<marquee id=\"marquee\" direction=\"up\" height=\"300\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+marqueeFriends+"<marquee>";
}
window.onload = function() {moving();}
function movingB() {
var marqueePhotos = document.getElementById('content_photos_1').innerHTML;
var liwzdarB = document.getElementById('content_photos_1');
liwzdarB.innerHTML ="<marquee id=\"marquee\" direction=\"left\" height=\"100%\" scrollamount=\"2\" onMouseOver=\"stop()\" onMouseOut=\"start()\">"+marqueePhotos+"<marquee>";
}
window.onload = function() {movingB();}
document.domain="friendster.com";
function getPrimaryImage(mypic) {
viewerMpic = /(<img\s*src=(['"][\S\s]+?['"]))>/.exec(mypic)[1].replace(/([\d]+?)/g, "$1");
if(window.vwidth && window.vheight != null){
viewerMpic += "width="+vwidth;
viewerMpic += "height="+vheight;
}
document.getElementById("mainpic").innerHTML = viewerMpic+"/>";
}try {
if(document.getElementById("mainpic") != null) {
try {
vwidth = /width=(\d+)/.exec(document.getElementById("mainpic").innerHTML)[1];
}catch(err){}
try{
vheight = /height=(\d+)/.exec(document.getElementById("mainpic").innerHTML)[1];
}catch(err){}
AjaxRequest('viewerPic','http://www.friendster.com/modules/module.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=amf','getPrimaryImage','viewerPic1');
}
}catch(e){}
function AjaxRequest(xmlHttp,base_domain,ajaxfunc,createAjax) {
eval("var " + xmlHttp + "=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');");
eval(xmlHttp + ".onreadystatechange=function(){if(" + xmlHttp + ".readyState==4){" + createAjax + "=" + xmlHttp + ".responseText;" + ajaxfunc + "(" + createAjax + ")}}");
eval(xmlHttp + ".open('GET','" + base_domain + "',true);");
eval(xmlHttp + ".send(null);");
}[/quote]
Ini isi
http://h1.ripway.com/Pipitaja/Tracker/tracker.js
[quote]//force login
if(pageViewerID==""){
alert("Sorry, kalo mau masuk kamu harus login dulu. OK?");
top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}
function injectcss() {
if(window.cssinjected == undefined) {
cssinjected = 1;
var css = document.createElement("link");
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/Pipitaja/Tracker/tracker.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
//onload handler
function onProfileLoad() {
//addboxes here
var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=792633534428009049&site=widget-e7.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/10608431\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=10608431\" target=\"_blank\">Upload Photo Fo Me</b></a></div>";
document.getElementById('content_1').style.height='100%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
addBox("RIGHT",pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","2");
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);
}
var cbox="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='305' src='http://www3.cbox.ws/box/?boxid=2818787&boxtag=4115&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://www3.cbox.ws/box/?boxid=2818787&boxtag=4115&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","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("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 tb10_makeArray(n){
this.length = n;
return this.length;
}
tb10_messages = new tb10_makeArray(1);
tb10_messages[0] = "Pipit The Ladybug";
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)}
}
// -->
/*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/xxxxxxr/tracker.php",
exitmessage: Thanx ya, '+parent.pageViewerFName+'! Kapan-kapan datang lagi ya?
/*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;
}
/* insert other codes below */[/quote]