Created
January 20, 2017 04:49
-
-
Save blha303/8f6de1c8007568f695df1825dfdc22d1 to your computer and use it in GitHub Desktop.
Facebook auto poke
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
function pokeAll(){ | |
buttons = document.getElementsByClassName("_42ft _4jy0 _4jy3 _4jy1 selected _51sy"); | |
for (var i = 0; i < buttons.length; i++) { | |
if (buttons[i].innerText == "Poke Back") { | |
buttons[i].click() | |
} | |
} | |
setTimeout(pokeAll, 1000) | |
} | |
pokeAll() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment