Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I come from /b/

Name: Anonymous 2009-04-19 10:14

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: Anonymous 2009-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]);
 }
})();

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List