Last active
August 29, 2015 14:26
-
-
Save vachzar/e2766e27cbf67cf63b6d to your computer and use it in GitHub Desktop.
Invite all friends to like FB Pages
This file contains hidden or 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
javascript: var inputs = document.getElementsByClassName('_2aks'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); } | |
//confirm all friend request | |
javascript: function removeElementsByClass(className){var elements = document.getElementsByClassName(className);while(elements.length > 0){elements[0].parentNode.removeChild(elements[0]);}} removeElementsByClass('mbl _30d _5n-u'); var inputs = document.getElementsByClassName('_42ft _4jy0 _4jy3 _4jy1 _51sy'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment