Skip to content

Instantly share code, notes, and snippets.

@groovenectar
Last active December 22, 2015 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save groovenectar/6420716 to your computer and use it in GitHub Desktop.
Save groovenectar/6420716 to your computer and use it in GitHub Desktop.
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