Skip to content

Instantly share code, notes, and snippets.

@freundTech
Last active August 30, 2015 11:57
Show Gist options
  • Save freundTech/e880aa274e2fbbdd7bbd to your computer and use it in GitHub Desktop.
Save freundTech/e880aa274e2fbbdd7bbd to your computer and use it in GitHub Desktop.
Facebook auto poke
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