Hacker News new | ask | show | jobs
Facebook wouldn't let me invite my friends... jQuery to the rescue! (frogo.tv)
4 points by fotoflo 4948 days ago
3 comments

A good example of why you should always fall back to validation on the server. Never trust the client.
Sneaky, and enormously helpful.
You can pretty much use this trick everywhere...
I doubt this works. All it does is change the client side DOM. When the form gets sent to the server they can still ignore those friends.
Thank you. I went back and looked, and you're right, it seems that it didnt submit ALL friend requests, only about a hundrad apperently.

You can use this jQuery to click all friends who are clickable:

1) jQuery(".fbProfileBrowser .fcb.fwb.text").click()

Good workaround!