We are being plagued by IMMENSE spam in every thread. Could one of you good men in /prog/ check it out and maybe write a nice greasemonkey script to get rid of it? I'll make sure a majority of /b/ has it.
We don't even know where it's coming from, so we can't just raid whoever is doing it.
Name:
Anonymous2009-04-19 12:47
Here's what I've been using since this wave started. It gets rid of the most prolific form, and I don't read /b/ enough to care about the rest.
// ==UserScript==
// @name fix b
// @description fixes all of AnonTalk!FrOzEn2BUo's posts on /b/
// @namespace http://dis.4chan.org/prog/
// @include http://img.4chan.org/*;
// @version 1.1
// ==/UserScript==
(function(){
var posts = [];
var divs = document.getElementsByTagName('table');
for(var i = 0; i < divs.length; ++i){
if (divs[i].getElementsByTagName('td')[1].className == 'reply')
posts.push(divs[i]);
}
for(var i = 0; i < posts.length; ++i){
if (/^http:\S+\?\d+<br>.+$/.
test(posts[i].getElementsByTagName('blockquote')[0].innerHTML))
posts[i].parentNode.removeChild(posts[i]);
}
})();