Ahab / Player Remover/Player Highlighter

// ==UserScript==
// @name Player Remover/Player Highlighter
// @namespace torn
// @description Player Remover with Player Highlighter
// @include *torn.com/*
// @version 0.02
// @license MIT
// ==/UserScript==

function hide(){
    var id = [1002535,1028023];
    var namehl = {2170855:"rgba(55, 235, 235, 0.3)",1694357:"rgba(55, 235, 235, 0.3)",2523068:"rgba(55, 235, 235, 0.3)",2524119:"rgba(55, 235, 235, 0.3)",2394035:"rgba(55, 235, 235, 0.3)",2522555:"rgba(55, 235, 235, 0.3)",2514662:"rgba(55, 235, 235, 0.3)",2524112:"rgba(55, 235, 235, 0.3)",2524660:"rgba(55, 235, 235, 0.3)",2524411:"rgba(55, 235, 235, 0.3)",2520934:"rgba(55, 235, 235, 0.3)",2523502:"rgba(55, 235, 235, 0.3)",2521471:"rgba(55, 235, 235, 0.3)",2325477:"rgba(55, 235, 235, 0.3)",2474207:"rgba(55, 235, 235, 0.3)",2506751:"rgba(55, 235, 235, 0.3)",2521653:"rgba(55, 235, 235, 0.3)"};
    var observerTarget = $("#chatRoot")[0];
    var observerConfig = { attributes: false, childList: true, characterData: false, subtree: true };
    var observer = new MutationObserver(function(mutations) {
    $.each(id, function(index , value){
        $("div[class^='chat-box-content'] div[class^='message'] a[href$='profiles.php?XID="+value+"']").parent().hide();
    });
    $.each(namehl, function(key, value) {
      $("div[class^='chat-box-content'] div[class^='message'] a[href$='profiles.php?XID="+key+"']").parent().children('span').css("background-color",value);
      $("div[class^='chat-box-content'] div[class^='message'] a[href$='profiles.php?XID="+key+"']").css("background-color",value);
    });
    });
    observer.observe(observerTarget, observerConfig);
};

hide()