Fnord, , after typing the OP I noticed "Hell, I am a programmer, I don't need that button".
So, indeed I figured a way. I spent the hour following the making of that post making use of the firefox Greasemonkey plugin. It was fun to re-learn javascript.
Code:
// ==UserScript==
// @name wp_ignore
// @namespace wp
// @description ignore
// @include http://www.wrongplanet.net/pos*
function ShouldIgnore(name) {
//Type the user names (case sensitive)
//reproduce the following structure for every user you want to ignore
if (name == 'looncalf') {
return true;
}
if (name == 'IgnoredName2') {
return true;
}
if (name == 'IgnoredName3') {
return true;
}
return false;
}
var tr = document.getElementsByTagName("tr");
for (i = 0; i < tr.length; i++) {
var td = tr[i].getElementsByTagName("td");
if (td.length < 1 ) continue;
var span = td[0].getElementsByTagName("span");
if (span.length < 1 ) continue;
if (span[0].className == "name" ) {
var b = span[0].getElementsByTagName("b");
if (b.length < 1 ) continue;
var a = b[0].getElementsByTagName("a");
if (a.length < 1 ) continue;
var text = a[0].firstChild.nodeValue;
if ( ShouldIgnore(text) ) {
td[1].innerHTML = '...';
}
}
}
// ==/UserScript==
It needs the greasemonkey firefox addon. For the yiggles, you can change the innerHTML = "..."; line to make their posts say whatever you want.
When I find more time I think I can make it even hide the contents of quote tags that are marked to come from ignored guys. But I need some sleep first.
_________________
.