Skip to content

Instantly share code, notes, and snippets.

@vachzar
Last active August 29, 2015 14:26
Show Gist options
  • Save vachzar/e2766e27cbf67cf63b6d to your computer and use it in GitHub Desktop.
Save vachzar/e2766e27cbf67cf63b6d to your computer and use it in GitHub Desktop.
Invite all friends to like FB Pages
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