NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Player Remover // @namespace Player Remover // @include *torn.com/* // @version 0.03 // @grant none // @license MIT // ==/UserScript== function hide(){ var id = [1002535]; var x; var observerTarget = $("#chatRoot")[0]; var observerConfig = { attributes: false, childList: true, characterData: false, subtree: true }; var observer = new MutationObserver(function(mutations) { for(x in id){ $("div[class^='chat-box-content'] div[class^='message'] a[href$='profiles.php?XID="+id[x]+"']").parent().hide(); }}); observer.observe(observerTarget, observerConfig); }; hide()