// ==UserScript==
// @name ShiichanFilter
// @namespace 4ch
// @include http://dis.4chan.org/*;
// ==/UserScript==
//Fixes lounge from spam
function gcl(vclass){return document.getElementsByClassName(vclass)}
var filt=/<br>\nGo back to Slashdot\n <\/p>| BEING CUMMED INSIDE|>nigger<|>\ntest\n <|I HATE women|FrozenVirgin|Please try to ignore troll posts|Jerk|Jerks|FrozenShit|Frozen[^v\s\.\,\;\n]|FrozenV[^o0]|Frozen\s[^v][^o0][^i][^d]|Fuck off|NE PAS SIGNALER EN CE FIL|back to \/pr\/|aspie fucktard|\bkill yourself\b|I ..n\'t see your post|F....nVirgin|Bork Bork Bork|.mybrute.com|go (b2|back)( to|2|\/2\/)|p>\n(LISP|1000 (|more )(posts|sages)[^\n]{0,2}\n)/gim;
var filt2=/=C=H=E=F=|mailto:sage/gim;
function tag(x,y){if(!y){return document.getElementsByTagName(x)}else{return x.getElementsByTagName(y)}};
function sa(x,y,z){x.setAttribute(y,z)};
var posts=tag('blockquote');var pl=posts.length;
for(var d=0;d<pl;d++){if(posts[d].innerHTML.search(filt)!=-1){sa(posts[d].parentNode,'style','display:none')}else{sa(posts[d].parentNode,'style','display:inline')}}
var ss2=gcl("postername");
for(var d=0;d<pl;d++){if(ss2[d].innerHTML.search(filt2)!=-1){sa(ss2[d].parentNode.parentNode.parentNode,'style','display:none')}}
Name:
Anonymous2009-08-11 13:37
Doesn't work.
Name:
Anonymous2009-08-11 13:40
Works for me. I cant see the OP because it has the spam words in it.
Name:
Anonymous2009-08-11 13:56
Over half of these phrases have been never posted at /lounge/, this is bullshit.
Name:
pork soda2009-08-11 14:02
>>1
I have bad experiences with running scripts I copied from 4chan :\
This is good. There perhaps should be another script for the rampant thread necromancy (bumping of old threads) going on. /prog/ has a userscript for this purpose that disallows any thread from 2008 or older from being viewed on the front page.
Name:
Anonymous2009-08-11 21:10
>>17
Like it makes any difference almost all the posts here are pointless.
Except ones trolling RedCram
Name:
Anonymous2009-08-11 21:29
>>18
Oh, don't be such a negative Nancy. I'd say the majority of the posts here have more of a point and are more coherent than /b/.
Name:
Anonymous2009-08-12 9:21
Anyone know regex?
Name:
Anonymous2009-08-12 10:11
I HAT E wom en. I never had a girlfriend and never will. The only times I got laid was when I paid a woman or promised her something. I'm never going to hold hands with a chick, kiss a girl intimately because we're in love, or any of the other shit that human beings were made to do. I guess that I'm suppose to be happy masturbating every fucking night. I'm a man with sexual urges and can't get with a female. I'm suppose to be alright with that? THERE IS A FUCKING CURSE ON MY LIFE. A CURSE THAT PREVENTS ANY FEMALE FROM LIKING ME. Oh I forgot, I do get interest from fat chicks and I'm not attracted to fat chicks.
I don't give a fuck anymore. I'm going to become the biggest asshole in the world. I tried the whole being considerate thing and it got me nowhere. If people can't handle my newfound harshness, then bring it on. BECAUSE I DON'T GIVE A FUCK. I DON'T GIVE A FUCK. I DON'T GIVE A FUCK.
I get happy when I hear about some college slut getting murdered or injured in a hit and run. "oh she was a beautiful and talented girl, how could this happen." I don't know but I'm glad it did.