Facebook changed "Invite frineds/suggest to frineds" window
Well, from some time ago you are not able to select all frineds with our know javascript:
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object' && elms[fid].className != 'disabled' ){fs.click(elms[fid]);}}
I'll now describe to you one trick how you can still do this. To do this you'll need to have Firefox and install free ad-on Firebug. When you have this all, just follow instructions on images-
- Open your group
- Clikc "Invite people to yoin"
- image 1: open firebug
- image2: select page inspercor
- image3: click on right border of friend selector frame
- image3: in firebug, you should find iframe tag
- image 4: select and copy src of iframe tag
- in your browser enter url: www.facebook.com{PASTE_IFRAME_SRC}
- image 5: browser will open only window for selecting frineds
- nor in url enter javascript from above
- press enter
- this is it ;)
Sex oglasnik
Well, this is not realated to javascript, but please join this group on facebook: www.facebook.com/group.php. This group is created for portal Sex oglasnik. Portal Sex oglasnik is free portal where user can submit free ads if he is looking for love, relationship, marriage and more.
Funny facebook tip
Would you like to check funny tip for Facebook? If you would like to change profile picture of your frined to picture of monkey, you can use this code:
javascript:elms=document.getElementById('profileimage').getElementsByTagName('img');for(var fid in elms){ elms[fid].setAttribute("src",'http://www.cats.gatech.edu/ELF/games/jigsaw%20puzzle/images/monkey.jpg');elms[fid].setAttribute("width",'200px');}
1. Open friend profile page
2. Enter this code in your url bar
3. Press ENTER
4. it's funny, isn't it? :)
Note: profile picture will not be saved! When you refresh page, picture will be returned to old one. But you can trick your friend, if you show him this on your computer :).
Facebook - select all friends
Tired of clikcing hundred times to invite all friends in group/page? There is small javascipt code that you can enter in browser url and this will select all friends:
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object' && elms[fid].className != 'disabled' ){fs.click(elms[fid]);}}
So, how to this?
1. Click on "Suggest to friends" link
2. Enter this code in your url bar
3. Press ENTER
4. Wait few seconds (if you have much friends can take up to 1 min)
5. Press "Send invitations" button
|