From d4ed15be9d3ea8731c1c6209b8978981f76bad60 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Tue, 27 Oct 2015 17:41:46 +0200 Subject: [PATCH] 'banned' emotes --- js/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/main.js b/js/main.js index 0ec5284e..a039965f 100644 --- a/js/main.js +++ b/js/main.js @@ -209,6 +209,8 @@ EmoteModule.prototype.getNodes = function(node) { return nodes; }; +var bemotes = [ "double", "triple", "quadra", "penta" ]; + //TODO Functional titles EmoteModule.prototype.injectEmote = function(node) { @@ -225,6 +227,8 @@ EmoteModule.prototype.injectEmote = function(node) { if(!words) return; words.some(function(word) { + + if($.inArray(bemotes, word)) return; if(emotesTwitch.emotes.hasOwnProperty(word)) { parentInnerHTML = parentInnerHTML.replace(word, "<\/img>");