Code
// ==UserScript==
// @name Block Nekosama
// @description Block NekoSama's threads
// @match http://forums.d2jsp.org/forum.php?f=27
// ==/UserScript==
// Preloaded with Nekosama and TABITHACAT
var userId = [ '434436', '990405' ];
for(var uid=0;uid<userId.length;uid++){
var els = document.querySelectorAll('tr > td > a[href="user.php?i=' + userId[uid] + '"]');
for(var i=0,l=els.length; i<l; i++){
els[i].parentNode.parentNode.style.display = 'none';
}
}
Now accepts as many userids as you want. Just add them to the userId array.
To get this working on firefox:
Click the arrow next the the greasemonkey icon
add new userscript
Type in "Block threads" for name
"BlockThreads" for namespace
Click ok
paste in script on next screen
done
This post was edited by AnimeFTW on Oct 23 2015 09:50pm