We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4eb6d1 commit 659b1fcCopy full SHA for 659b1fc
1 file changed
Chat-cleaner.js
@@ -0,0 +1,13 @@
1
+'use strict'
2
+setTimeout(function(){
3
+ var exectionalWords = exeptions;
4
+ //var badWordsArray = newBad;
5
+ console.log("Chat running");
6
+ setInterval(clean, 100);
7
+ function clean() {
8
+ let chat = document.getElementsByClassName('geofs-chat-message')
9
+ for (let item of chat) {
10
+ item.innerHTML = profanityCleaner.clean(item.innerHTML, { exceptions: exectionalWords })
11
+}
12
+ }
13
+}, 2000);
0 commit comments