Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Bookmarklet, removes Like buttons on a Facebook page
<a href="javascript:
(function() {
var elems = document.getElementsByClassName( 'UFILikeLink' );
for ( var i = 0; i < elems.length; i++ ) {
if ( elems[i].style.display == 'none' ) {
elems[i].style.display = 'inline-block';
} else {
elems[i].style.display = 'none'
}
}
})();">How Do I Like?</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment