//META{"name":"emoteBlacklist"}*// var emoteBlacklist = function () {}; emoteBlacklist.prototype.onMessage = function () { }; emoteBlacklist.prototype.onSwitch = function () { }; emoteBlacklist.prototype.start = function () { window.ebEnabled = true; var self = this; var em = bdPluginStorage.get("emoteBlacklist", "blacklist"); if(em === null) return; em.forEach(function(emote) { self.remove(emote); self.add(emote); }); }; emoteBlacklist.prototype.add = function(emote) { window.bemotes.push(emote); }; emoteBlacklist.prototype.remove = function(emote) { var index = bemotes.indexOf(emote); if(index > -1) { window.bemotes.splice(index, 1); } } emoteBlacklist.prototype.load = function () {}; emoteBlacklist.prototype.unload = function () { }; emoteBlacklist.prototype.stop = function () { window.ebEnabled = false; this.clear(); }; emoteBlacklist.prototype.clear = function() { var self = this; var em = bdPluginStorage.get("emoteBlacklist", "blacklist"); if(em === null) return; em.forEach(function(emote) { self.remove(emote); }); }; emoteBlacklist.prototype.getSettingsPanel = function () { var em = bdPluginStorage.get("emoteBlacklist", "blacklist"); var html = ''; html += '