Board Thread:Wiki Management/@comment-3560445-20140526084658

//Chat censor //Censors any uncensored cusses when the button is pressed //From http://stackoverflow.com/questions/4541070/how-can-i-do-a-jquery-swear-word-bad-word-filter //Modified for Wiki use by Guppie the Third var chatCensor = function {String.prototype.repeat = function(num){ return new Array(num + 1).join(this); }

var filter = ["insert", "all", "words", "you", "don't", "wanna", "see"];

$('span.message').text(function(i, txt){

// iterate over all words for(var i=0; iCensor any uncensored words ').appendTo('.Rail'); Put that code into your Special:Mypage/chat.js, and I hope this argument is resolved. Thanks. 