On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
Aw... dude! I didn't really understand this post to begin with, but I
didn't originally scroll down to see the comments. Don't people have better
things to do with their lives?
Crudeness like that really gets under my skin. :o(
Well, if anyone thinks of something brilliant to filter it out... I'm sure
we'll post it. :o)
This started partly tongue-n-cheek but what about:
$('div.comment,h3.change').each(function() {
if ($(this).html().match(/whore|sex|fuck|nude|xxx|urlcutter|pharm/)) {
$(this).html('*** FILTERED ***');
}
});
Cleaned my page up right nice!
-js
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/