Last active
December 14, 2015 18:29
-
-
Save ShaneQful/5130001 to your computer and use it in GitHub Desktop.
Get rid of friends' spotify spamming your feed
This file contains 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
var f = document.getElementsByClassName('fbFeedTickerStory'); | |
for(var i = 0; i < f.length; i++){ | |
if(f[i].innerHTML.indexOf("spotify") !== -1){ | |
f[i].style.display="none"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment