PDA

View Full Version : Facebook select all friends script: Can it be modified...



wasabullfrog
01-14-2010, 02:23 PM
...to select and click a button?

javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] ... for(var fid in elms){ if(typeof elms[fid] === 'object'){ fs.click(elms[fid]); } } }

I have a facebook page with polls on it...and I ALWAYS select the 3rd of three buttons.

button1
button2
button3 <--- 9/10 times I ALWAYS select this.

Is it possible to modify the script above so that it selects...and clicks..."button3?"

Thanks for any assistance as Im WAY out of my element here...