Created
May 25, 2011 08:42
-
-
Save gavinwilliams/990599 to your computer and use it in GitHub Desktop.
Ignore all Facebook group requests, just copy and paste this into console
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
var e = document.getElementById('pagelet_groups_requests'); var els = e.getElementsByTagName('input'); for(var i = 0; i < els.length; i++){ if(els[i].getAttribute('value') == 'Ignore'){ els[i].click(); } }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment