Created
December 21, 2012 07:13
-
-
Save xdamman/4351186 to your computer and use it in GitHub Desktop.
Facebook friend requests zero I had 236 pending friends requests, so I decided to accept them all as a gesture before the end of the world.
I wasn't ready to click on them all so just made that quick script you can run in the console when you are on the page https://www.facebook.com/friends/requests/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = document.getElementsByTagName('input'); | |
for(var i=0;i<a.length;i++) if(a[i].getAttribute('value')=='Confirm') a[i].click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Spanish users:
var a = document.getElementsByTagName('input');
for(var i=0;i<a.length;i++) if(a[i].getAttribute('value')=='Confirmar') a[i].click();