Facebook wouldn't let me invite my friends... jQuery to the rescue! (frogo.tv) 4 points by fotoflo 13y ago ↗ HN
[–] broodsugar 13y ago ↗ Sneaky, and enormously helpful. [–] fotoflo 13y ago ↗ You can pretty much use this trick everywhere... [–] laxlaxy 13y ago ↗ 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. [–] fotoflo 13y ago ↗ 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()
[–] fotoflo 13y ago ↗ You can pretty much use this trick everywhere... [–] laxlaxy 13y ago ↗ 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. [–] fotoflo 13y ago ↗ 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()
[–] laxlaxy 13y ago ↗ 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. [–] fotoflo 13y ago ↗ 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()
[–] fotoflo 13y ago ↗ 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()
[–] junto 13y ago ↗ A good example of why you should always fall back to validation on the server. Never trust the client.
6 comments
[ 2.9 ms ] story [ 26.9 ms ] threadYou can use this jQuery to click all friends who are clickable:
1) jQuery(".fbProfileBrowser .fcb.fwb.text").click()