//bad words
ajaxChat.replaceCustomText = function(text) {
text=text.replace(/badword1/gi, '###');
text=text.replace(/badword2/gi, '###');
text=text.replace(/badword3/gi, '###');
text=text.replace(/badword4/gi, '###');
text=text.replace(/badword5/gi, '###');
return text;
}
Of course you can add more lines.
Replace the words badword1,2,3, etc. with those that you choose.
Save and close.
Then, delete your browser's history, go to chat and try to type a word, you should read "###" instead of the word. If desired, you can substituted for "###" with symbols of your choice, such as '# @ # @'
Matt