Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**Code start
- *Change z=10 if you have less\more friends then 500
- *@param (int) "fu" - from what user to start
- *@param (int) "tu" - what user to end
- *Example: var z=10,fu=10,tu=3000
- *(will select only 2990 users, starting from user number 11)
- *
- *You may use the script without "fu" and "tu"
- *so it will run all over your users from 1 to LAST.
- */
- javascript: var z = 10,
- fu=10,
- tu=3000,
- w = window,
- d = "document",
- wd = w[d];
- function l() {
- p = wd.getElementsByName("checkableitems[]");
- var le=("undefined"!=typeof tu)?tu:p.length;
- var st=("undefined"!=typeof fu)?fu:0;
- for(count=st;count<le;count++) setTimeout("p[" + count + "].click()", 10);
- alert("All of your friends selected, you may send your spam now")
- }
- var fbProfileBrowserListContainer = wd.getElementsByClassName("fbProfileBrowserListContainer"),
- f = wd.getElementById(fbProfileBrowserListContainer[1].parentNode.getAttribute("id"));
- function b(a) {
- f.scrollTop += 1E7;
- a >= z ? setTimeout("l()", 1E3) : setTimeout("b(" + (a + 1) + ")", 2E3)
- }
- setTimeout("b(1)", 2E3);
- void(0);
- //Code end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement