Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HOW TO INVITE ALL YOUR FRIENDS to a FB Event or Page:
- 如何邀請你所有的朋友到FB活動或專頁:
- http://www.facebook.com/photo.php?fbid=674430412639443
- mirrored at --> http://pastebin.com /cmapNHzx (remove space!)
- a) Google Chrome:
- --> Too lazy to paste code? <--
- Use one of these Chrome Extensions which is the easiest way to invite (remove the space from these links before clicking them!):
- - https://chrome.google.com/webstore/detail /facebook-friend-inviter/fojfflomljfbdfdcfmiihnijjfnnakdn
- - https://chrome.google.com/webstore/detail /facebook-invite-all-frien/lkifjigoeilijkcnpfdjbpdjgnbfibec
- - https://chrome.google.com/webstore/detail /auto-select-all-facebook/ppcjiigginhdhihbdlejjoekeemjaiml
- Facebook considers these apps "spammy" and may occasionally ask you to remove them as "malicious software".
- --> or copy and paste the code below into your browsers Address Bar, replacing the Facebook URL. Important: make sure the javascript: part remains intact, as some browsers will remove it after you’ve pasted it in. If that’s the case, manually add javascript: to the start of the code in the Address Bar. Hit Enter on your keyboard.
- Note: Double click to select the text
- javascript:elms=<span class="IL_AD" id="IL_AD9">document</span>.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
- ***
- b) Mozilla Firefox (version 6 or above):
- THE STRICT INSTRUCTIONS
- 1) Go to your page or event and click 'Invite Friends'
- 2) A pop-up box will shown up, scroll all the way down (important!) until you can see all your friends in alphabetical order
- 3) Go to (Tools ) --> Web Developer --> Scratchpad ...
- or hold down the "Shift" key and tap "F4"
- 4) Another window will show up with code in it.
- 5) Copy this code and paste it in the bottom of the box:
- javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if(elms[i].type="checkbox" )elms[i].click()};
- 6) Press CTRL + R (or click 'Execute' -> 'Run')
- 7) Your browser/computer may lag while it's loading; wait it out...
- All your friends are selected!
- 9) Click 'Save' at the bottom of the box; Facebook may ask for a captcha in case of a large number of friends (there's no problem with it)
- alternative method:
- 3. Go to (Tools) --> Web Developer --> Web Console ...
- or press Ctr+Shift+k; paste the shown code into the bottom line and hit Enter;
- then proceed as described above
- IF YOU GET A SECURITY CHECK, YOU MAY USE THIS ONE:
- javascript:var x=document.getElementsByTagName("input");for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done, all your friends have been selected');
- *****
- c) Internet Explorer:
- 3. hit F12 instead, else proceed according to the above
- *****
- d) alternative Code:
- javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
- *****
- See also:
- http://www.youtube.com/watch?v=XP6kbkabQpo
- *****
- Thanks to Google for providing a cached version of this information as it was posted at our previous link (deleted by Facebook):
- http://www.facebook.com/photo.php?fbid=501433656579798
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement