Comment filter

Filter comments with keywords

// ==UserScript==
// @name         Comment filter
// @namespace    pxgamer
// @version      0.2
// @description  Filter comments with keywords
// @author       pxgamer
// @include      *kat.cr/*.html
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var searchStrings = ["Denuvo"];

    $('.commentText').each(
        function() {
            for (var i = 0; i < searchStrings.length; i++) {
                if ($(this).html().toLowerCase().indexOf(searchStrings[i].toLowerCase()) > -1) {
                    $(this).parent().parent().parent().hide();
                }
            }
        }
    );
})();