Skip to content

Instantly share code, notes, and snippets.

@hupili
Created July 30, 2015 11:15
Show Gist options
  • Save hupili/3fe787a426693ae525d0 to your computer and use it in GitHub Desktop.
Save hupili/3fe787a426693ae525d0 to your computer and use it in GitHub Desktop.
Facebook One-liners
# Select and paste useful commands into Chrome Console on FB
# Click Likes
Array.prototype.slice.call($$(".UFILikeLink[title='Like this']:not(.accessible_elem)"), 0).map(function(a){a.click()})
# Invite all friends
Array.prototype.slice.call($$("[role='checkbox']"), 0).map(function(a){a.click()})
@hupili
Copy link
Author

hupili commented Jul 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment