wolfmat
Confirmed Asshole
Edit: hateradio made a similar, but more elegant script that doesn't need jQuery, read this: http://www.neogaf.com/forum/showpost.php?p=25163098&postcount=58
Original OP follows.
--
In case anyone else needs it, here's my Greasemonkey script for blocking posters' avatars (I used jQuery 'cause I'm lazy):
Add new avatars to be blocked to the "usernames" Array, like this:
Shoutout to Zombie James; he made the GAF Highlighter, I stole his jQuery init junk and the filter.
Original OP follows.
--
In case anyone else needs it, here's my Greasemonkey script for blocking posters' avatars (I used jQuery 'cause I'm lazy):
Code:
// ==UserScript==
// @name NeoGAF Avatar Blocker
// @namespace wmat
// @description Block disgusting avatars on GAF
// @include http://www.neogaf.com/forum/*
// @include http://neogaf.com/forum*
// ==/UserScript==
var usernames = new Array("Wraith RazieL"); // <-- The blocked guys' names
var GM_JQ = document.createElement('script');
GM_JQ.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js';
GM_JQ.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(GM_JQ);
function GM_wait()
{
if(typeof unsafeWindow.jQuery == 'undefined') { window.setTimeout(GM_wait,100); }
else { $ = unsafeWindow.jQuery; if(usernames.length > 0) execJQuery(); }
}
GM_wait();
function execJQuery()
{
for (var i=0; i < usernames.length; i++){
$("a[class='bigusername']:contains('" + usernames[i] + "')").css('color', 'black').parent().parent().children().children().children("img").css('display', 'none');
}
}
Code:
var usernames = new Array("Wraith RazieL", "wmat");
Shoutout to Zombie James; he made the GAF Highlighter, I stole his jQuery init junk and the filter.