Created
October 28, 2016 03:24
-
-
Save lackneets/1ee679338f63b7040037fcde13268b64 to your computer and use it in GitHub Desktop.
Facebook auto poke all
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
// https://www.facebook.com/pokes/?notif_t=poke | |
setInterval(function(){ | |
var cancel = document.querySelector('a[autofocus][action=cancel]'); | |
cancel && cancel.click(); | |
var poke = document.querySelector('a[ajaxify*="/pokes/inline/"]:not(.saving)'); | |
poke && poke.click(); | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment