Created
February 5, 2015 03:14
-
-
Save zacharyliu/268c736e7f371d13f73d to your computer and use it in GitHub Desktop.
Facebook Autopoker
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
document.querySelector('#poke_live_new').addEventListener("DOMSubtreeModified", function() { | |
[].slice.call(document.querySelectorAll('#poke_live_new a[ajaxify^="/pokes/inline/?dom_id_replace"]')).forEach(function(elem) { | |
elem.click(); | |
}); | |
}, false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment