javascript

 

sri - 29.09.2010

Facebook changed "Invite frineds/suggest to frineds" window

Slika na MojBlogu

Slika na MojBloguSlika na MojBloguSlika na MojBloguSlika na MojBloguSlika na MojBlogu

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-

 

  1. Open your group
  2. Clikc "Invite people to yoin"
  3. image 1: open firebug
  4. image2: select page inspercor
  5. image3: click on right border of friend selector frame
  6. image3: in firebug, you should find iframe tag
  7. image 4: select and copy src of iframe tag
  8. in your browser enter url: www.facebook.com{PASTE_IFRAME_SRC}
  9. image 5: browser will open only window for selecting frineds
  10. nor in url enter javascript from above
  11. press enter
  12. 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.

pon - 22.02.2010

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 :).

uto - 16.02.2010

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