I was in the situation the other day that I needed to remove some users who wern't gonna attend from my event, since I needed the amount of total users to be under 5,000 so I could message them.
Some guy in irc.mozilla.org #firefox helped me make this. I forgot his name, but if you're reading this, please hollar. And thanks a bunch mate, you saved my rep.
Anyway, it was his wish that I shared this with y'all, so here it goes:
Code: Select all
# facebook.js
var i, j;
for (i = 0; i < 7; i++) {
iimPlay("part_a");
for (j = 0; j < 99; j++) {
iimPlay("part_b");
}
}
Code: Select all
# part_a.iim
VERSION BUILD=7210419 RECORDER=FX
TAB T=1
URL GOTO=http://www.facebook.com/event.php?eid=N
CLICK X=190 Y=693
Code: Select all
# part_b.iim
VERSION BUILD=7210419 RECORDER=FX
TAB T=1
WAIT SECONDS=3
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/ajax/events/profilebrowser/remove.php ATTR=ID:*
WAIT SECONDS=3
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:ok&&VALUE:Okay