Skip to content

Instantly share code, notes, and snippets.

@gavinwilliams
Created May 25, 2011 08:42
Show Gist options
  • Save gavinwilliams/990599 to your computer and use it in GitHub Desktop.
Save gavinwilliams/990599 to your computer and use it in GitHub Desktop.
Ignore all Facebook group requests, just copy and paste this into console
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