Skip to content

Instantly share code, notes, and snippets.

@HelloWorld017
Created February 2, 2017 14:04
Show Gist options
  • Save HelloWorld017/681af06e1244d7d5f13a94d94459a4b5 to your computer and use it in GitHub Desktop.
Save HelloWorld017/681af06e1244d7d5f13a94d94459a4b5 to your computer and use it in GitHub Desktop.
Facebook AutoPocker

Enter this in developer console (f12) THIS IS NOT A MALWARE! (Look at the code)

After entering it, poke someone. This script will poke automatically.

setInterval(() => {
const pokes = document.querySelector("#poke_live_new");
if(!pokes) return;
Array.prototype.forEach.call(pokes.children, (v) => {
if(v.classList.contains("hidden_elem")) return;
const pokeButton = v.querySelector('a.selected');
if(pokeButton) pokeButton.click();
});
}, 500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment