Created
June 9, 2011 12:35
-
-
Save kopiro/1016645 to your computer and use it in GitHub Desktop.
Set "I like" on all post in the Facebook page
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
javascript: | |
var likes = document.getElementsByClassName("like_link"); | |
for(var i=0;i<likes.length;i++) { | |
var l = likes[i]; | |
if (l.children[0].innerHTML.match(/non/i)) continue; | |
l.click(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment