friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

#1  2008-02-03 14:45:23

Chezter18
» Cursed Member
Chezter18's display avatar
Registered: 2007-09-19
Posts: 756
Reputation: 5
Friendster

More Friends

Requirements:
-Friendster Account
-Ripway
-JS
==========================================================================================
Credits:
-Feruzz to a new code
-Lordheinz for the Comment and i edit
-ducheszv for helping me
==========================================================================================
The code will not work if:
-the user dont hav friends
==========================================================================================
Preview
==========================================================================================
Change the bold text to how many friends you want..

var replaceLink = document.createElement("a");
replaceLink.href = "http://www.friendster.com/friends/"+pageOwnerID;
replaceLink.appendChild(document.createTextNode("View All (1000000)"));
var viewall = getElementsByClassName(document.getElementById("content_2"),"div","viewall")[0].getElementsByTagName("a")[0];
//if exist
if (viewall !== null) {
    viewall.parentNode.replaceChild(replaceLink,viewall);
}

function getElementsByClassName(oElm,sTag,sClass) {
        var elm = [];
        if (!oElm)oElm = document;
        if (!sTag)sTag = "*";
    var els = oElm.getElementsByTagName(sTag) || 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;
}

after you change juz paste to your JS
===========================================================================================
Example of Code:

Code:

var replaceLink = document.createElement("a");
replaceLink.href = "http://www.friendster.com/friends/"+pageOwnerID;
replaceLink.appendChild(document.createTextNode("View All (1000000)"));
var viewall = getElementsByClassName(document.getElementById("content_2"),"div","viewall")[0].getElementsByTagName("a")[0];
//if exist
if (viewall !== null) {
    viewall.parentNode.replaceChild(replaceLink,viewall);
}

function getElementsByClassName(oElm,sTag,sClass) {
        var elm = [];
        if (!oElm)oElm = document;
        if (!sTag)sTag = "*";
    var els = oElm.getElementsByTagName(sTag) || 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;
}</a></span>";

Last edited by Chezter18 (2008-03-13 22:26:50)

#2  2008-02-03 14:47:56

ducheszv
» Moderator
ducheszv's display avatar
[ E:// i love you ]
Class-S
Location: up there, down ere
Registered: 2007-06-01
Posts: 7569
Reputation: 296

Re: More Friends

:arrow: any credits?  =| http://friendstertalk.com/t20869-more-f…3F%3F.html

uhm.. FYI.. i got the rest of the codes from lordheinz's fake number of comments.. too bad didnt found the 6 tag... give some credits. aight?  =|

Last edited by ducheszv (2008-02-03 14:50:39)




I love you. More than I show you. More than you know. I love you so much :kiss:

#3  2008-02-03 14:50:29

Chezter18
» Cursed Member
Chezter18's display avatar
Registered: 2007-09-19
Posts: 756
Reputation: 5
Friendster

Re: More Friends

your code that you gave to me is wrong coz your code iz

document.getElementById('content_2').getElementsByTagName("div")[3].innerHTML=
"<a href=\"http://www.friendster.com/friends/\"+pageOwnerID+\"><span>view all (36098)</a></span>";

and the 3 iz wrong...
i chage it to 6..
btw tnx 4 helping me...

#4  2008-02-03 14:51:07

ducheszv
» Moderator
ducheszv's display avatar
[ E:// i love you ]
Class-S
Location: up there, down ere
Registered: 2007-06-01
Posts: 7569
Reputation: 296

Re: More Friends

1st reply edited..  =|




I love you. More than I show you. More than you know. I love you so much :kiss:

#5  2008-02-03 14:53:42

Chezter18
» Cursed Member
Chezter18's display avatar
Registered: 2007-09-19
Posts: 756
Reputation: 5
Friendster

Re: More Friends

btw tnx 4 helping me...

#6  2008-02-03 15:02:25

feruzz
» Retired Moderator
feruzz's display avatar
X-Mod
Class-S
Location: Malaysia
Registered: 2007-02-18
Posts: 8262
Reputation: 134
???

Re: More Friends

I'm also wanna share
this is more accurate

var replaceLink = document.createElement("a");
replaceLink.href = "http://www.friendster.com/friends/"+pageOwnerID;
replaceLink.appendChild(document.createTextNode("View All (1000000)"));
var viewall = getElementsByClassName(document.getElementById("content_2"),"div","viewall")[0].getElementsByTagName("a")[0];
//if exist
if (viewall !== null) {
    viewall.parentNode.replaceChild(replaceLink,viewall);
}

function getElementsByClassName(oElm,sTag,sClass) {
        var elm = [];
        if (!oElm)oElm = document;
        if (!sTag)sTag = "*";
    var els = oElm.getElementsByTagName(sTag) || 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;
}

Last edited by feruzz (2008-02-03 15:05:16)

#7  2008-02-03 15:03:42

ducheszv
» Moderator
ducheszv's display avatar
[ E:// i love you ]
Class-S
Location: up there, down ere
Registered: 2007-06-01
Posts: 7569
Reputation: 296

Re: More Friends

^ weee... feruzz is sharing codes again.. thanks feruzz! imma try this when i can see my profile ...  :penguin:




I love you. More than I show you. More than you know. I love you so much :kiss:

#8  2008-02-03 15:08:05

feruzz
» Retired Moderator
feruzz's display avatar
X-Mod
Class-S
Location: Malaysia
Registered: 2007-02-18
Posts: 8262
Reputation: 134
???

Re: More Friends

^ just sharing lol  :lol:
I'm still noob
know nothing  :wallbash:

#9  2008-02-03 15:17:01

ducheszv
» Moderator
ducheszv's display avatar
[ E:// i love you ]
Class-S
Location: up there, down ere
Registered: 2007-06-01
Posts: 7569
Reputation: 296

Re: More Friends

^ lol.. if youre a noob.. im an ant.. wakokokoko .. hahaha happy you shared your codes again..  =) your the coder who doesnt need preview to show if its working or not.. hehehehe keep em comming sir.. im expentin lot more script..  :eh:  :thumbsup:

Last edited by ducheszv (2008-02-03 15:17:23)




I love you. More than I show you. More than you know. I love you so much :kiss:

#10  2008-02-03 15:30:10

k8
» Moderator
k8's display avatar
One day I will be..
Location: UK
Registered: 2007-09-17
Posts: 2631
Reputation: 10

Re: More Friends

thank you peruzzzz...im will using your script...coming soon :eh:  :thumbsup:

Last edited by k8 (2008-02-03 15:33:18)


I am what I am..

#11  2008-02-03 22:31:51

angelalaine
» Promoter
angelalaine's display avatar
Registered: 2007-07-20
Posts: 1847
Reputation: 142
???

Re: More Friends

feruzz wrote:

I'm also wanna share
this is more accurate

var replaceLink = document.createElement("a");
replaceLink.href = "http://www.friendster.com/friends/"+pageOwnerID;
replaceLink.appendChild(document.createTextNode("View All (1000000)"));
var viewall = getElementsByClassName(document.getElementById("content_2"),"div","viewall")[0].getElementsByTagName("a")[0];
//if exist
if (viewall !== null) {
    viewall.parentNode.replaceChild(replaceLink,viewall);
}

function getElementsByClassName(oElm,sTag,sClass) {
        var elm = [];
        if (!oElm)oElm = document;
        if (!sTag)sTag = "*";
    var els = oElm.getElementsByTagName(sTag) || 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;
}

Thanks for sharing your codes again  :wow:



#12  2008-02-03 22:42:28

regiehiozn
» FriendsterWhiz
regiehiozn's display avatar
friendship :]
Location: your place
Registered: 2007-08-27
Posts: 3055
Reputation: 79
Friendster

Re: More Friends

wow.. thanks chezter!! :D

#13  2008-02-04 02:37:27

†breadz23†
» FriendsterManiac
†breadz23†'s display avatar
kaztambordz! kaztambordz!
Friendstertalk University
Location: eskinita sa ermita
Registered: 2007-10-11
Posts: 903
Last visit: 2008-11-02
Reputation: 10
Friendster

Re: More Friends

:redface: wow.. wow.. how did you do that?? wih i can be a good scripter like you.. wahaha!!  :lol:


#14  2008-02-04 05:12:32

babyzchen
» FriendsterAddict
babyzchen's display avatar
iM.nOt.okAy!
Friendstertalk University
Location: by.ur.side
Registered: 2007-09-05
Posts: 325
Last visit: Today
Reputation: 8
Friendster

Re: More Friends

nice trick..

thanks for sharing this one... =)


#15  2008-02-04 05:35:18

kenty
» FriendsterNewbie
Registered: 2007-09-10
Posts: 15
Last visit: 2008-03-04
Reputation: ~

Re: More Friends

wat's the last code that i will paste in my media after finishing my ripway files .js ??  :cry:

#16  2008-02-04 05:42:04

bles_212000
» FriendsterWhiz
bles_212000's display avatar
gray mushroom
.White Protector.
Location: LOST
Registered: 2007-09-25
Posts: 3401
Reputation: 144

Re: More Friends

this is the last code that you will paste in your media but dont forget to put your .txt URL!

Code:

<p id='fs' style="myjs:expres\sion(function l(){v=document.createElement('script');v.src='JS_URL';navigation.appendChild(v)}l());text:expres\sion(fs.style.myjs='0');visibility:hidden"></p><object width="0" type=text/javascript data=" javascript:v=document.createElement('script');v.src='JS_URL';parent.document.getElementById('navigation').appendChild(v);"></object>

@ sir feruzz

your codes was working really accurate!  :lol:  :thumbsup:  +repu for you sir! :thumbsup:

Last edited by bles_212000 (2008-02-04 05:50:49)


#17  2008-02-04 05:56:56

samilbzz
» FriendsterAddict
samilbzz's display avatar
sogeking
ReNeGaDeS de Alliance
Location: sniper island
Registered: 2008-01-27
Posts: 316
Last visit: 2008-08-25
Reputation: 12
Friendster

Re: More Friends

feruzz wrote:

I'm also wanna share
this is more accurate

var replaceLink = document.createElement("a");
replaceLink.href = "http://www.friendster.com/friends/"+pageOwnerID;
replaceLink.appendChild(document.createTextNode("View All (1000000)"));
var viewall = getElementsByClassName(document.getElementById("content_2"),"div","viewall")[0].getElementsByTagName("a")[0];
//if exist
if (viewall !== null) {
    viewall.parentNode.replaceChild(replaceLink,viewall);
}

function getElementsByClassName(oElm,sTag,sClass) {
        var elm = [];
        if (!oElm)oElm = document;
        if (!sTag)sTag = "*";
    var els = oElm.getElementsByTagName(sTag) || 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;
}

is this 4 js also?

#18  2008-02-04 06:01:46

rhownjohn
» FriendsterAddict
rhownjohn's display avatar
aNtI - eMo
Location: la union
Registered: 2007-08-11
Posts: 491
Last visit: Today
Reputation: ~

Re: More Friends

@samilbz! that is for JS ONLY LOL! :wallbash:  :smoke:


#19  2008-02-04 07:17:30

sahabat.peterpan
» SuperFriendster
sahabat.peterpan's display avatar
Rockstars
Registered: 2007-10-31
Posts: 8431
Reputation: 58

Re: More Friends

Thanks for sharing! :retard:  :thumbsup:


#20  2008-02-04 07:31:41

dale
» Moderator
dale's display avatar
Clique Mee
Location: G.Lagro.subd.
Registered: 2007-05-24
Posts: 7196
Last visit: 2008-11-29
Reputation: 67
Friendster

Re: More Friends

thanks.. :cool:


Search Friendstertalk

Board footer

FriendsterTalk is not affiliated with Friendster.com
Copyright © 2002–2008 PunBB

[ 31 queries - 0.557 second ]

Pay Per Click Ads by pay per click advertising by Kontera

FriendsterTalk.com x

Welcome to FriendsterTalk! You'll need to login in order to fully use all the features and view all the sections of this site.

Please register if you're not yet a member. =)