Created
August 3, 2014 19:14
-
-
Save zfelegyhazi/11bde82d1137783b5abe to your computer and use it in GitHub Desktop.
Facebook - accept all new friend request (08/2014)
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.getElementsByClassName("_42ft _4jy0 _4jy3 _4jy1 selected"); | |
for(var i=0; i<a.length; i++) { if (a[i].innerHTML == 'Confirm'){ a[i].click(); } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment