Quickly select all your contacts when inviting friends to Dropbox

If you want to get more free space using Dropbox, you have to invite friends. Each friend gives you 250 MB extra space, up to a maximum of 8 GB extra space.

If you have hundreds of contacts like me, checking each check-box will take ages.

With a little javascript you can quickly invite all your friends at once. Copy and paste this little javascript code into the adress bar and hit enter, while the invite box is open:

javascript: el = document.getElementById('contact-list').children; for(var i in el) { el[i].children[0].children[0].checked=true; }

If it does not work for you and you are using Firefox, try to install the Firebug plugin and execute the code from the commandline.

el = document.getElementById('contact-list').children; for(var i in el) { el[i].children[0].children[0].checked=true; }

  • On latests versions of Firefox you can press SHIFT+F4, paste the first code there, right click over the code and press Run/Execute and it will work!

  • dandy

    Daniel @warmth Delgado : that worked like a charm!

  • Marco

    Hi,
    I can’t use your tricks can you help me?

  • In my personal case I round for another approach:

    el = document.getElementsByClassName(‘contact-check’).children; for(var i in el) { el[i].children[0].checked=true; }

    It worked for me this one while both stated above not.