Skip to content

Instantly share code, notes, and snippets.

@naganowl
Last active August 29, 2015 14:04
Show Gist options
  • Save naganowl/49bc9dee57bd3d9c1dff to your computer and use it in GitHub Desktop.
Save naganowl/49bc9dee57bd3d9c1dff to your computer and use it in GitHub Desktop.
Approves all requests on Facebook's Activity Log. Assumes 'Approve' button is in display for all posts.
  • Here's a [bookmarklet](javascript:(function(){}(a = document.querySelectorAll('[name=approve_button]');([]).forEach.call(a, function(e){e.click();});));) of the script for convenience.
approveButtons = document.querySelectorAll('[name=approve_button]');
([]).forEach.call(approveButtons, function(el){el.click();});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment