Facebook javascript code

mariahm

Newbie
Joined
Jan 15, 2010
Messages
4
Reaction score
0
So I noticed that the javascript code that you can use to mass suggest a page to friends is not working anymore.

This is the code: javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}

Does anyone know of a trick to suggest a page to all your friends?

Thanks!
 
Click on "suggest to friends"

a window will pop up

Right click on any friend and click ?open in new tab?

You will land on a page which will only show suggestion window

At this point, paste the following code on to the address bar where the suggestion window is displaying and press enter:
Code:
[COLOR=#ff6347][B]javascript:fs.select_all();[/B][/COLOR]
 
Click on "suggest to friends"

a window will pop up

Right click on any friend and click ?open in new tab?

You will land on a page which will only show suggestion window

At this point, paste the following code on to the address bar where the suggestion window is displaying and press enter:
Code:
[COLOR=#ff6347][B]javascript:fs.select_all();[/B][/COLOR]

That is working! :)
 
nope its not working. try opening the frame to the other tab again and you'll see what i mean

Well, when the box is alone, on it's own

in the window it's working perfectly to me.
 
Not as far as i know. I'm having a scriptguy looking at it now.
 
Chrome has a pretty good addon, but for all those firefox users, get greasemonkey and install this script: hxxp://userscripts.org/scripts/show/70384 :D (remember to change hxxp to h t t p)
 
Click on "suggest to friends"

a window will pop up

Right click on any friend and click ?open in new tab?

You will land on a page which will only show suggestion window

At this point, paste the following code on to the address bar where the suggestion window is displaying and press enter:
Code:
[COLOR=#ff6347][B]javascript:fs.select_all();[/B][/COLOR]

I tried your tactic but it seems not working anymore:

Using Chrome: Click suggest page - Right click on any friends and open in new tab. (Goes back to the Fanpage)

Using Google: Click suggest page - Right click on any friends and open in new tab. (Goes to your personal Page)
____________________________________________________

Since OP said that the javascript tactic are not working anymore, so i tried the javascript (in Chrome) and surprisingly it is still working... :confused:

I have few account so i simply test it and when i open my other account, i saw 'You have 1 Page Suggestion' which is the page that i invite.

Code:
javascript:elms=document.getElementById('friends').getElementsB
yTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object')
{fs.click(elms[fid]);}}
 
Yes Google chrome Addon Rocks I love that . It works only on chrome.
 
@Long.30naga Thanks for the tip that actually works pretty well. Did for me today.

I've noticed that fan pages that have don't have auto approval of fans will have a 50 suggest to fan limit? Is that true. I've tried others and worked fine but the one with manual approval will not allow me to suggest to all my friends once I'm friends with it but other fan pages with auto-approve will allow me to suggest all my friends.
 
Back
Top