If you ever try to invite all your friends to dropbox to get extra free space you know what you have to do. A lot of donkey work, checking all the hundreds of check-boxes.
Well now you can automatically be select all your friends.
Copy this line:
javascript: el = document.getElementById('contact-list').children; for(var i in el) { el[i].children[0].children[0].checked=true; }
And paste into browsers URL while the Invite Friends dialog is open and Hit enter.
If you want to know what's happening here's JS in easy to read format. Just figuring out the DOM a bit will give you a clue.
Well now you can automatically be select all your friends.
Copy this line:
javascript: el = document.getElementById('contact-list').children; for(var i in el) { el[i].children[0].children[0].checked=true; }
And paste into browsers URL while the Invite Friends dialog is open and Hit enter.
If you want to know what's happening here's JS in easy to read format. Just figuring out the DOM a bit will give you a clue.
el = document.getElementById('contact-list').children;
for(var i in el)
{
el[i].children[0].children[0].checked=true;
}
great! Thanks!
ReplyDeleteIt worked after some workaround. I had to install Firebug in firefox and then use the commandline to execute the script
ReplyDeleteNo if you copy that line (javascript: el = document.getElementById('contact-list').children; for(var i in el) { el[i].children[0].children[0].checked=true; })
ReplyDeleteyou wont need firebug. Paste it in URL bar and hit enter, and why you needed workarounds?