Created
July 14, 2013 04:28
-
-
Save mishak87/5993215 to your computer and use it in GitHub Desktop.
Ignore people in chat
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 blacklist = ['mishak','mullick']; | |
setInterval(function () { | |
$('#chatcontent > div').each(function(i,v){if(-1!=$.inArray($('span', v).text(), blacklist))$(v).hide();}); | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment