dark illusions19 » Newbie
Honors : 12 Age : 35 Warnings : Honors : 58780 Registration date : 2008-10-19
| Subject: Custom recent Update(JS) Tue Oct 28, 2008 9:38 pm | |
| here's the code...just paste it along with your compiled js codes - Code:
-
if ( ! attachOnLoadHandler(function () { CustomUTracker();})) window.onload = function () { CustomUTracker();}; function CustomUTracker() { CUSTOMTRACKER.init(); }
if (typeof CUSTOMTRACKER == "undefined") { CUSTOMTRACKER = {}; } CUSTOMTRACKER = { getUTracker: [],
elements: { mainid: document.getElementById("content_0"), maintag: "DIV", mainclass: "user_tracker" },
init: function() { try { this.getUTracker = document.createElement("DIV"); this.getUTracker.setAttribute("class","user_tracker"); this.getUTracker.innerHTML = ""+ " [list] [*][b]My Recent Buhay:[/b]"+ " [*][url=http://friendsbook.darkbb.com//%22+pageOwnerID+%22]Rock Band[/url] - Joined Yesterday!"+ " [*][url=http://friendsbook.darkbb.com//%22+pageOwnerID+%22]Last Bath[/url] - Last Year"+ " [*][url=http://friendsbook.darkbb.com//%22+pageOwnerID+%22]Had Studied[/url] - last Year hehe!!"+ " [*][url=http://friendsbook.darkbb.com//%22+pageOwnerID+%22]Went to SM Taytay[/url] - Kanina lang"+ " [*][url=http://friendsbook.darkbb.com//%22+pageOwnerID+%22]Kumain[/url] - Last week!!!"+ " [/list] "; this.sibling = this.getElementsByClassName(document.getElementById("content_0"),"DIV","user_tracker")[0]; this.sibling.parentNode.replaceChild(this.getUTracker,this.sibling);
}catch(e) { this.getUTracker = ""; } },
getElementsByClassName: function(oElm,sTag,sClass) { var elm = []; if (oElm === null)oElm = document; if (sTag === null)sTag = "*"; var els = oElm.getElementsByTagName(sTag) || document.all; for (var j=0,k=els.length;j if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } };
don't tell that this code doesn't work on your profile because it works well on my profile... preview: http://profiles.friendster.com/11610748 | |
|
rezza » Newbie
Honors : 61 Age : 38 Warnings : Honors : 58780 Registration date : 2008-10-19
| Subject: Re: Custom recent Update(JS) Fri Oct 31, 2008 1:38 am | |
| can u tell more about your script.??
and give some credits if this code u get from someone.!! oks | |
|
amiick Admin
Honors : 142 Age : 34 Location : cavite Warnings : FW Mood: : Honors : 57874 Registration date : 2009-01-15
| Subject: Re: Custom recent Update(JS) Thu Jan 15, 2009 10:01 am | |
| | |
|
Sponsored content
| Subject: Re: Custom recent Update(JS) | |
| |
|