-
-
Save federicosan/197dd45d89be6e991ed053a1b85b903a to your computer and use it in GitHub Desktop.
Facebook - Script to auto invite people who liked a page post do like the page
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
var buttons; | |
buttons = document.getElementsByClassName('_42ft'); | |
for (var i = 0; i < buttons.length; i++) { | |
if(buttons[i].getAttribute('ajaxify') != null){ | |
if(buttons[i].getAttribute('ajaxify').indexOf('invite') != -1){ | |
buttons[i].click(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment