// ==UserScript== // @name Killfile with thread support for LJ // @namespace killfilelj // @include http://*.livejournal.com/* // Greasemonkey "flicker" eliminating version // // WARNING: this version requires you to add the following hack to your userContent.css file: // // @-moz-document domain(livejournal.com) { // div#Comments { // display: none; // } // } // // This file needs to be created, and it is located in the 'chrome' subfolder of your Firefox // profile. // put your shit list here :) var banned_commenters = new Array("blaireau_bougon","ionotter","defenestrate_me","starblade_enkai","guma_kawauso","araquan","freakylynx","life_on_m","deckardcanine","exile17", "svxkitty", "spikedpunch", "semjay","megadog", "sciucaro","pathia","k_fuego", "6th_tioga", "czar_wolfhound", "tbpbenni", "dulcimer89", "sethimothy","westly_roanoke", "nikvulper", "maddogairpirate", "toob"); function RemoveComments() { if (unsafeWindow.LJ_cmtinfo) { var LJ_cmtinfo = unsafeWindow.LJ_cmtinfo; var x,z; for (x in LJ_cmtinfo) { for(z in banned_commenters) { if(LJ_cmtinfo[x]["u"] == banned_commenters[z]) { RemoveComment(x); } } } } } function RemoveComment(x) { var LJ_cmtinfo = unsafeWindow.LJ_cmtinfo; var Anchor = document.getElementsByName('t'+x); if (Anchor) { var a; for (a in Anchor) { var Comment = Anchor[a].nextSibling; if (Comment) { Comment.parentNode.removeChild(Comment); var y; for (y in LJ_cmtinfo[x]["rc"]) { RemoveComment(LJ_cmtinfo[x]["rc"][y]); } } } } } function showComments() { var commentSection = document.getElementById("Comments"); commentSection.style.display = "inline"; } RemoveComments(); document.addEventListener("load",showComments(),false); // ==/UserScript==