Modify the FB select all code?

wehttam

Newbie
Joined
Oct 15, 2008
Messages
29
Reaction score
0
I was wondering if there's anyway to modify the Select All javascript code for facebook (to invite friends to pages/groups) so that it selects 48 friends only (since facebook implemented the 48 max invite at a time limit). I'm a noob to programming so this question may probably sound absurd, if so , sorry.

Code:
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
 
Back
Top