Last active
April 1, 2016 21:30
-
-
Save travelton/bdb31af5f52e7bfb37c083c9500a19e4 to your computer and use it in GitHub Desktop.
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
$(document).on('DOMNodeInserted', function(e) { | |
$('.robin-message--message', e.currentTarget).each(function() { | |
if (/[\u0080-\uFFFF]/.test($(this).text())) { | |
$(this).parent().remove(); | |
} | |
if($(this).text().indexOf("Robin Autovoter") > 0){ | |
$(this).parent().remove(); | |
} | |
if($(this).text().indexOf("voted") > 0){ | |
$(this).parent().remove(); | |
} | |
if($(this).text().indexOf("what color") > 0){ | |
$(this).parent().remove(); | |
} | |
if($(this).text().indexOf("PinataRanch") > 0 || $(this).text().indexOf("PINATARANCH113") > 0 ){ | |
$(this).parent().remove(); | |
} | |
if($(this).text().indexOf("OobB") > 0){ | |
$(this).parent().remove(); | |
} | |
if($(this).text().indexOf("sexbots") > 0){ | |
$(this).parent().remove(); | |
} | |
if($(this).text().indexOf("S6") > 0){ | |
$(this).parent().remove(); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment