Ahab / Fourm user remove

// ==UserScript==
// @name            Fourm user remove
// @description     Hide posts/threads from selected users
// @include         *torn.com/forums.php*
// @license         MIT
// @version         1.5
// @grant           none
// ==/UserScript==

$( document ).ajaxComplete(function( event, xhr, settings ) {
      if ( settings.url.search(/forums.php.*/) === 0) {
        var blocked = ['ID','ID','ID'];
        for (i = 0; i < blocked.length; i++){
            //$("div[class^='forums-thread-wrap'] a[href$='profiles.php?XID="+ blocked[i] +"']").parent().parent().parent().remove();   // Safer post removal
            $("div[class^='forums-thread-wrap'] a[href$='profiles.php?XID="+ blocked[i] +"']").closest('li').remove();                  // Nuke posts
            $("li[class^='starter'] a[href$='profiles.php?XID="+ blocked[i] +"']").parent().parent().parent().parent().remove();        // Threads
            $("li[class^='last-post'] a[href$='profiles.php?XID="+ blocked[i] +"']").children().remove();                               // Last post
        }
}});