Last active
August 30, 2015 11:57
-
-
Save freundTech/e880aa274e2fbbdd7bbd to your computer and use it in GitHub Desktop.
Facebook auto poke
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
interval = setInterval(function() { | |
list = document.getElementsByTagName("a") | |
for(i = 0; i < list.length; i++) { | |
if(list[i].innerHTML.indexOf("Poke Back") > -1) { | |
list[i].click() | |
console.log("Poked someone") | |
} | |
} | |
}, 3000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment