Facebook auto poke userscript

// ==UserScript==
// @name Facebook autopoke
// @namespace Kjwon15
// @description Facebook auto revenge poke
// @include http://*.facebook.com/pokes*
// @include https://*.facebook.com/pokes*
// ==/UserScript==

auto_poke=function(){
	var poked=false;
	var lst=document.getElementsByClassName("uiIconText");
	for(i=0;i<lst.length; i++){
		if(lst[i].getAttribute("ajaxify")){
			if(lst[i].getAttribute("ajaxify").match(/pokeback=1/)){
				lst[i].click();
				poked=true;
			}
		}
	}
	//if(poked)
	 //alert("POKED");
	 window.setTimeout(auto_poke,200)
}
//auto_poke();
window.setTimeout(auto_poke,3000);

kjwon15

I'm a hacker, I want to improve life.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.