Created
March 11, 2012 17:04
-
-
Save kimdwkimdw/2017134 to your computer and use it in GitHub Desktop.
Auto "Poke Back" in Facebook
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
/*Try this on console in the "m.facebook.com/pokes" during you logged in*/ | |
P=location.protocol; | |
a = document.createElement('script') | |
a.src=P+"//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" | |
document.body.appendChild(a); | |
(function ME() { | |
var jQuery=jQuery || undefined; | |
if(jQuery) { | |
setInterval(function () { | |
$.ajax(P+'//m.facebook.com/pokes').success(function(d){ | |
$.ajax( $(d).find(".mfss .sec:first").attr('href') ); | |
}) | |
},1000*10) | |
} else { | |
setTimeout(ME,10) | |
} | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment