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

Pages: 1-4041-

Quality Scripts to Improve /prog/-quality

Name: FrozenVoid 2010-06-29 13:33

// ==UserScript==
// @name           QualityFilter
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
filter=/my anus|[^\w]desu desu[^\w]|m going to necro threads|Back to \/b\/|ur gay\n|smoke weed everyday|\nlain.\n|\nlisp\n|\nlol\n|\nmy homework is|army of 12 year old autistics|Enjoy your AIDS AND FAIL/ig
posts=document.getElementsByTagName('blockquote')
for(i in posts){if(posts[i].innerHTML.search(filter)!=-1){posts[i].parentNode.setAttribute('style','display:none')}}

Name: Anonymous 2010-06-29 13:41

>>1
Well thank you VF, but it would be nice if you make it readable so that people know that what you wrote is not a rootkit. Dont tell me now that your way of writing makes it faster parsed.

Name: Anonymous 2010-06-29 13:47

>>2
this is actually quite readable, if you view it in a monospaced font... apparently this isn't the real FV.

Name: Update 2010-06-29 13:50

// ==UserScript==
// @name           QualityFilter1.01
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
filter=/my anus|[^\w]desu desu[^\w]|m going to necro threads|Back to \/\w\/|ur gay\n|smoke weed everyday|\nlain.\n|\nlisp\n|\nlol\n|\nmy homework is|army of 12 year old autistics|AIDS AND FAIL|\n\d{1,12} get|Polecat Kebabs|\n\d+\n|\nnewfag|wholesale |Jackson 5 get|\w+ weed/ig
posts=document.getElementsByTagName('blockquote')
for(i in posts){if(posts[i].innerHTML.search(filter)!=-1){posts[i].parentNode.setAttribute('style','display:none')}}

Name: Anonymous 2010-06-29 14:04

\nlisp\n|\nlol\n
Oh you...

Name: Update1.02 2010-06-29 14:09

// ==UserScript==
// @name           filter
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
filter=/my anus|[^\w]desu desu[^\w]|m going to necro threads|Back to \/\w{1,7}\/|ur gay\n|\nlain(.|)\n|\nlisp\n|\nlol\n|\nmy homework is|army of 12 year old autistics|AIDS AND FAIL|(\n|\w+ )\d{1,12} get|Polecat Kebabs|\n\d+\n|wholesale |\w+ weed|(\n| )(old|new)fag|\n(no|ok|yes|maybe)\n/ig
posts=document.getElementsByTagName('blockquote')
for(i in posts){if(posts[i].innerHTML.search(filter)!=-1){posts[i].parentNode.setAttribute('style','display:none')}}

Name: Anonymous 2010-06-29 14:12

The entire board is hidden this way.

Only hide the thread if the last blockquote in a thread is caught in the filter, and evaluate the date. Some necroposts have taken off and have become discussion. Other shitposts have been placed inside active, recent threads.

Name: Update1.04: Thread filtering 2010-06-29 15:03

// ==UserScript==
// @name           filter
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
//version 1.04
threadNameFilter=/nig+er|hur dur|(old|new)fag|your mother|vote up/ig;
minimumPostLength=20;//add at least +13 padding.
filter=/my anus|[^\w]desu desu[^\w]|m going to necro threads|Back to \/\w{1,7}\/|ur gay\n|\nlain(.|)\n|\nlisp\n|\nlol(\n| what)|\nmy homework is|army of 12 year old autistics|AIDS AND FAIL|(\n|\w+ )\d{1,12} get|Polecat Kebabs|\n\d+\n|wholesale |\w+ weed|(\n| )(old|new)fag|\n(no|ok|yes|maybe)\n|nig+er|negro|jews/ig
threads2=document.getElementsByTagName('li');
threads=document.getElementsByTagName('h2');
for(i in threads){if(threads2[i].innerHTML.search(threadNameFilter)!=-1){
threads2[i].setAttribute('style','display:none');
if(threads[i]){threads[i].parentNode.parentNode.setAttribute('style','display:none');}
}}
posts=document.getElementsByTagName('blockquote')
for(i in posts){posttext=posts[i].innerHTML;
if(posttext.length<minimumPostLength|posttext.search(filter)!=-1){posts[i].parentNode.setAttribute('style','display:none')}}

Name: Anonymous 2010-06-30 0:27

>>8
Wow, you're really filtering everything aren't you.

Kebabs is a /prog/ original meme, and functionally it's equivalent to back to /b/, please1. Filtering out "lisp" is pretty weak as well, but suit yourself.

And a minimum post length is pretty awful, because short comments can be just as relevant and worthwhile as long ones. (and vice versa, a long comment can be entirely not worth reading)

References
1. http://dis.4chan.org/read/prog/1277604951/30-36

Name: Version1.05 2010-06-30 1:16

// ==UserScript==
// @name           filter
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
//version 1.05 -
threadNameFilter=/nig+er|hur dur|(old|new)fag|your mother|vote up|\/b\/|ohgod|halp|masturbate|finally found|slashdoted/ig;
minimumPostLength=20;//7 chars actually->add at least +13 padding.
//You should change the regexp filters for your personal preference
filter=/my anus|[^\w]desu desu[^\w]|m going to necro threads|Back to \/\w{1,7}\/|ur gay\n|\nlain(.|)\n|\nlisp\n|\nlol(\n| what)|\nmy homework is|army of 12 year old autistics|AIDS AND FAIL|(\n|\w+ )\d{1,12} get|Polecat(|s) Kebab(|s)|\n\d+\n|wholesale |\w+ weed|(\n| )(old|new)fag|\n(no|ok|yes|maybe)\n|nig+er|negro|jews|no exceptions|lol \w+\n|secret raid[^\w]|\nplease don't do that./ig
threads2=document.getElementsByTagName('li');
for(i in threads2){if(threads2[i].innerHTML.search(threadNameFilter)!=-1){
threads2[i].setAttribute('style','display:none');}}

threads=document.getElementsByTagName('h2');
for(i in threads){if(threads[i].innerHTML.search(threadNameFilter)!=-1){
threads[i].parentNode.parentNode.setAttribute('style','display:none');}}

posts=document.getElementsByTagName('blockquote')
for(i in posts){posttext=posts[i].innerHTML;
if(posttext.length<minimumPostLength|posttext.search(filter)!=-1){posts[i].parentNode.setAttribute('style','display:none')}}

Name: Anonymous 2010-06-30 1:34

Most of the things being filtered are legitimate, but a lot of them aren't. I'm not surprised you don't know how to use [code] tags.

Name: Anonymous 2010-06-30 4:38

>>11
Looks all right to me. Maybe you are illegitimate.

Name: Version1.06 2010-06-30 5:34

// ==UserScript==
// @name           filter
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
//version 1.05 -
threadNameFilter=/nig+er|hur dur|(old|new)fag|your mother|vote up|\/b\/|ohgod|halp|masturbate|finally found|slashdoted/ig;
minimumPostLength=20;//7 chars actually->add at least +13 padding.
//You should change the regexp filters for your personal preference
filter=/threadNameFilter/ig
threads2=document.getElementsByTagName('li');
for(i in threads2){if(threads2[i].innerHTML.search(threadNameFilter)!=-1){
threads2[i].setAttribute('style','display:none');}}

threads=document.getElementsByTagName('h2');
for(i in threads){if(threads[i].innerHTML.search(threadNameFilter)!=-1){
threads[i].parentNode.parentNode.setAttribute('style','display:none');}}

posts=document.getElementsByTagName('blockquote')
for(i in posts){posttext=posts[i].innerHTML;
if(posttext.length<minimumPostLength|posttext.search(filter)!=-1){posts[i].parentNode.setAttribute('style','display:none')}}

Name: Version 1.07 2010-06-30 6:19

// ==UserScript==
// @name           filter
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
//version 1.07c 
threadNameFilter=/nig+er|hur dur|(old|new)fag|your mother|vote up|\/b\/|ohgod|halp|masturbate|finally found|slashdoted/ig;
minimumPostLength=20;//7 chars actually->add at least +13 padding.
//You should change the regexp filters for your personal preference
filter=/my anus|[^\w]desu desu[^\w]|m going to necro threads|Back to \/\w{1,7}\/|ur gay\n|\nlain(.|)\n|\nlisp\n|\nlol(\n| what)|\nmy homework is|army of 12 year old autistics|AIDS AND FAIL|(\n|\w+ )\d{1,12} get|Polecat(|s) Kebab(|s)|\n\d+\n|wholesale |\w+ weed|(\n| )(old|new)fag|\n(no|ok|yes|maybe)\n|nig+er|negro|jews|no exceptions|lol \w+\n|secret raid[^\w]|\nplease don't do that.|LOLOLOL/ig
threads2=document.getElementsByTagName('li');
for(i in threads2){if(threads2[i].innerHTML.search(threadNameFilter)!=-1){
threads2[i].setAttribute('style','display:none');}}

threads=document.getElementsByTagName('h2');
for(i in threads){if(threads[i].innerHTML.search(threadNameFilter)!=-1){
threads[i].parentNode.parentNode.setAttribute('style','display:none');}}

posts=document.getElementsByTagName('blockquote')
for(i in posts){
if(posts[i].innerHTML.length<minimumPostLength||posts[i].innerHTML.search(filter)!=-1){
posts[i].parentNode.setAttribute('style','display:none')}}

Name: Anonymous 2010-06-30 8:17

>>14
Superfluous \n detected in regex

Name: Anonymous 2010-06-30 8:26

>>15
So you like to match Lisp without \n's and remove all lisp-related posts?

Name: Anonymous 2010-06-30 8:34

>>16
I'd rather make sure LISP is the only thing in a post than match this:
LISP
in a perfectly legal post.

Name: Anonymous 2010-06-30 9:18

>>17
Don't make such stupid posts then.

Name: Anonymous 2010-06-30 9:19

>>18
It's only your fault if you can't write proper regular expressions.

Name: Anonymous 2010-06-30 9:29

>>19
LISP
LISP
LISP
LISP
LISP
LISP
LISP
LISP
LISP
LISP
in a perfectly legal post.

Name: Anonymous 2010-06-30 9:32

LISP

Name: Anonymous 2010-06-30 9:34

The regex ignores >>20 and >>17 stop being retarded.

Name: test 2010-06-30 9:36

LISP

Name: Anonymous 2010-06-30 9:45

>>23
Mystery solved: regex matches only single words because shiichan inserts <br> before \n, but there is a default \n in every post.

Name: Anonymous 2010-06-30 10:22

Anyone have a user script that just blocks this thread?

Name: Anonymous 2010-06-30 10:38

Anyone has a user script that works with Chrome's PersonalizedWeb?

Name: Anonymous 2010-06-30 12:14

>>25
modify it to include "Quality Scripts" in the regex
>>26
https://chrome.google.com/extensions/detail/pipnnjjknlabchljabhmnpdfpdobpnkk

Name: Update 1.08 2010-06-30 18:07

// ==UserScript==
// @name           filter
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
//version 1.08a

nameFilter=/mailto:noko|bjarne stroutstrup/ig   //filter names and emails(with mailto:email)
tripFilter=/!iN.MY.aRMs/ig 
threadNameFilter=/nig+er|hur dur|(old|new)fag|your mother|vote up|\/b\/|ohgod|halp|masturbate|finally found|slashdoted|\/prob\/|russian supercomputer|i dont even/ig;
minimumPostLength=20;//7 chars actually->add at least +13 padding.
//You should change the regexp filters for your personal preference
filter=/my anus|[^\w]desu desu[^\w]|m going to necro threads|Back to \/\w{1,7}\/|ur gay\n|\nlain(.|)\n|\nlisp\n|\nlol(\n| what)|\nmy homework is|army of 12 year old autistics|AIDS AND FAIL|(\n|\w+ )\d{1,12} get|Polecat(|s) Kebab(|s)|\n\d+\n|wholesale |\w+ weed|(\n| )(old|new)fag|\n(no|ok|yes|maybe)\n|nig+er|negro|jews|no exceptions|lol \w+\n|secret raid[^\w]|\nplease don't do that.|LOLOLOL|fail fail|fuck off/ig



threads2=document.getElementsByTagName('li');
for(i in threads2){if(threads2[i].innerHTML.search(threadNameFilter)!=-1){
threads2[i].setAttribute('style','display:none');}}

threads=document.getElementsByTagName('h2');
for(i in threads){if(threads[i].innerHTML.search(threadNameFilter)!=-1){
threads[i].parentNode.parentNode.setAttribute('style','display:none');}}

posts=document.getElementsByTagName('blockquote')
for(i in posts){
if(posts[i].innerHTML.length<minimumPostLength||posts[i].innerHTML.search(filter)!=-1){
posts[i].parentNode.setAttribute('style','display:none')}}

tripdata=document.getElementsByClassName('postertrip');
for(i in tripdata){if(tripdata[i].innerHTML.search(tripFilter)!=-1){
tripdata[i].parentNode.parentNode.parentNode.setAttribute('style','display:none');
}}

namedata=document.getElementsByClassName('postername');
for(i in namedata){if(namedata[i].innerHTML.search(nameFilter)!=-1){
namedata[i].parentNode.parentNode.parentNode.setAttribute('style','display:none');
}}

Name: Anonymous 2010-06-30 18:40

Can't you just make a god damn userscript page for this and just update it every so often and post it to this thread? Thanks.

Name: Sagey McSagerson 2010-06-30 18:43

>>29
no that would make sense and that is one think voiden frost absolutely cannot do
ever

Name: Anonymous 2010-06-30 18:45

>>29
Userscripts requires registration to post. shiichan does not and allows up to 10kb files.

Name: Anonymous 2010-06-30 18:50

>>30
Lol, true.
Sagey McSagerson
Back to /b/, please
>>31
Userscripts requires registration
So? Just come up with a silly username like progdolyte or some shit like that. It only takes like five minutes and you can use a disposable email no problem.

Name: Anonymous 2010-06-30 19:52

Name: Anonymous 2010-07-01 1:02

>>32
Fuck off, ``faggot''.

Name: Anonymous 2010-07-01 1:13

>>33
I refuse to use workarounds for sites with mandatory registrations.

Name: Update1.09: New filters 2010-07-01 4:44

// ==UserScript==
// @name           filter
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
//version 1.09
hideNameField=true;// removes the display of names/emails
hideTripCode=true;//remove the tripcodes
hideDate=true;//remove the date data
nameFilter=/mailto:noko|bjarne stroutstrup/ig   //filter names and emails(with mailto:email)
tripFilter=/!iN.MY.aRMs/ig 
threadNameFilter=/nig+er|hur dur|(old|new)fag|your mother|vote up|\/b\/|ohgod|halp|masturbate|finally found|slashdoted|\/prob\/|russian supercomputer|i dont even|smoke \w+ everyday/ig;
minimumPostLength=20;//7 chars actually->add at least +13 padding.
//You should change the regexp filters for your personal preference
filter=/my anus|[^\w]desu desu[^\w]|m going to necro threads|Back to \/\w{1,7}\/|ur gay\n|\nlain(.|)\n|\nlisp\n|\nlol(\n| what)|\nmy homework is|army of 12 year old autistics|AIDS AND FAIL|(\n|\w+ )\d{1,12} get|Polecat(|s) Kebab(|s)|\n\d+\n|wholesale |\w+ weed|(\n| )(old|new)fag|\n(no|ok|yes|maybe)\n|nig+er|negro|jews|no exceptions|lol \w+\n|secret raid[^\w]|\nplease don't do that.|LOLOLOL|fail fail|fuck off|usingenglish.com|Back to the imageboards|Get the fuck out|ignore troll|op is a fag/ig

threads2=document.getElementsByTagName('li');
for(i in threads2){if(threads2[i].innerHTML.search(threadNameFilter)!=-1){
threads2[i].setAttribute('style','display:none');}}

threads=document.getElementsByTagName('h2');
for(i in threads){if(threads[i].innerHTML.search(threadNameFilter)!=-1){
threads[i].parentNode.parentNode.setAttribute('style','display:none');}}

posts=document.getElementsByTagName('blockquote')
for(i in posts){
if(posts[i].innerHTML.length<minimumPostLength||posts[i].innerHTML.search(filter)!=-1){
posts[i].parentNode.setAttribute('style','display:none')}}

tripdata=document.getElementsByClassName('postertrip');
for(i in tripdata){if(tripdata[i].innerHTML.search(tripFilter)!=-1){
tripdata[i].parentNode.parentNode.parentNode.setAttribute('style','display:none');
}}

namedata=document.getElementsByClassName('postername');
for(i in namedata){if(namedata[i].innerHTML.search(nameFilter)!=-1){
namedata[i].parentNode.parentNode.parentNode.setAttribute('style','display:none');
}}

badfield=document.getElementsByClassName('emailfield');
for(i in badfield){badfield[i].setAttribute('style','display:none');}
datedata=document.getElementsByClassName('posterdate');
if(hideDate){for(i in datedata){datedata[i].setAttribute('style','display:none');}}

tripdata=document.getElementsByClassName('postertrip');
if(hideTripCode){for(i in tripdata){tripdata[i].setAttribute('style','display:none');}}

namedata=document.getElementsByClassName('postername');
namedata2=document.getElementsByClassName('namelabel');
if(hideNameField){
for(i in namedata){namedata[i].setAttribute('style','display:none');}
for(i in namedata2){namedata2[i].setAttribute('style','display:none');}
}

Name: Anonymous 2010-07-01 4:56

>>34
Fuck off, /prog/.

Name: Anonymous 2010-07-01 5:04

>>37
Guess again

Name: 1.09b 2010-07-01 16:40

// ==UserScript==
// @name           filter
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
//version 1.09b
hideNameField=false;// removes the display of names/emails
hideTripCode=false;//remove the tripcodes
hideDate=false;//remove the date data
nameFilter=/mailto:noko|bjarne stroutstrup/ig   //filter names and emails(with mailto:email)
tripFilter=/!iN.MY.aRMs|!THe.FamOus/ig 
threadNameFilter=/nig+er|hur dur|(old|new)fag|your mother|vote up|\/(b|g)\/|ohgod|halp|masturbate|finally found|slashdoted|\/prob\/|russian supercomputer|i dont even|smoke \w+ everyday/ig;
minimumPostLength=20;//7 chars actually->add at least +13 padding.
//You should change the regexp filters for your personal preference
postfilter=/my anus|[^\w]desu desu[^\w]|m going to necro threads|Back to \/\w{1,7}\/|ur gay\n|\nlain(.|)\n|\nlisp\n|\nlol(\n| what)|\nmy homework is|army of 12 year old autistics|AIDS AND FAIL|(\n|\w+ )\d{1,12} get|Polecat(|s) Kebab(|s)|\n\d+\n|wholesale |\w+ weed|(\n| )(old|new)fag|\n(no|ok|yes|maybe)\n|nig+er|negro|jews|no exceptions|lol \w+\n|secret raid[^\w]|\nplease don't do that.|LOLOLOL|fail fail|fuck off|usingenglish.com|Back to the imageboards|Get the fuck out|ignore troll|op is a fag|v8\.1c\.ru|fucknozzle|\nRead SICP\n|send this (\w+|\w+ \w+|\w+ \w+ \w+) to everyone|brofist|>get out<|>You fail it(.|)</ig

threads2=document.getElementsByTagName('li');
for(i in threads2){if(threads2[i].innerHTML.search(threadNameFilter)!=-1){
threads2[i].setAttribute('style','display:none');}}

threads=document.getElementsByTagName('h2');
for(i in threads){if(threads[i].innerHTML.search(threadNameFilter)!=-1){
threads[i].parentNode.parentNode.setAttribute('style','display:none');}}

posts=document.getElementsByTagName('blockquote')
for(i in posts){
if(posts[i].innerHTML.length<minimumPostLength||posts[i].innerHTML.search(postfilter)!=-1){
posts[i].parentNode.setAttribute('style','display:none')}}

tripdata=document.getElementsByClassName('postertrip');
for(i in tripdata){if(tripdata[i].innerHTML.search(tripFilter)!=-1){
tripdata[i].parentNode.parentNode.parentNode.setAttribute('style','display:none');
}}

namedata=document.getElementsByClassName('postername');
for(i in namedata){if(namedata[i].innerHTML.search(nameFilter)!=-1){
namedata[i].parentNode.parentNode.parentNode.setAttribute('style','display:none');
}}

badfield=document.getElementsByClassName('emailfield');
for(i in badfield){badfield[i].setAttribute('style','display:none');}
datedata=document.getElementsByClassName('posterdate');
if(hideDate){for(i in datedata){datedata[i].setAttribute('style','display:none');}}

tripdata=document.getElementsByClassName('postertrip');
if(hideTripCode){for(i in tripdata){tripdata[i].setAttribute('style','display:none');}}

namedata=document.getElementsByClassName('postername');
namedata2=document.getElementsByClassName('namelabel');
if(hideNameField){
for(i in namedata){namedata[i].setAttribute('style','display:none');}
for(i in namedata2){namedata2[i].setAttribute('style','display:none');}
}

Name: Update 1.09c 2010-07-02 3:57

// ==UserScript==
// @name           filter
// @namespace      4chan
// @include        http://dis.4chan.org/*
// ==/UserScript==
//version 1.09c
hideNameField=false;// removes the display of names/emails
hideTripCode=false;//remove the tripcodes
hideDate=false;//remove the date data
nameFilter=/mailto:noko|mailto:\w+@|bjarne stroutstrup/ig   //filter names and emails(with mailto:email)
tripFilter=/!iN.MY.aRMs|!THe.FamOus/ig 
threadNameFilter=/nig+er|hur dur|(old|new)fag|your mother|vote up|\/(b|g)\/|ohgod|halp|masturbate|finally found|slashdoted|\/prob\/|russian supercomputer|i dont even|smoke \w+ everyday/ig;
minimumPostLength=20;//7 chars actually->add at least +13 padding.
//You should change the regexp filters for your personal preference
postfilter=/\w+ anus[^\w]|[^\w]desu desu[^\w]|m going to necro threads|Back to \/\w{1,7}\/|ur gay\n|\nlain(.|)\n|\nlisp\n|\nlol(\n| what)|\nmy homework is|army of 12 year old autistics|AIDS AND FAIL|(\n|\w+ )\d{1,12} get|Polecat(|s) Kebab(|s)|\n\d+\n|wholesale |\w+ weed|(\n| )(old|new)fag|\n(no|ok|yes|maybe)\n|nig+er|negro|jews|no exceptions|lol \w+\n|secret raid[^\w]|\nplease don't do that.|LOLOLOL|fail fail|fuck off|usingenglish.com|Back to the imageboards|Get the fuck out|ignore troll|op is a fag|v8\.1c\.ru|fucknozzle|\nRead SICP\n|send this (\w+|\w+ \w+|\w+ \w+ \w+) to everyone|brofist|>get out<|>You fail it(.|)<|[^<]a href=|[url=|runescape gold|MENA HASKAL|\n(I|Y|W)HBT\n|\nIWNBT\n/ig

threads2=document.getElementsByTagName('li');
for(i in threads2){if(threads2[i].innerHTML.search(threadNameFilter)!=-1){
threads2[i].setAttribute('style','display:none');}}

threads=document.getElementsByTagName('h2');
for(i in threads){if(threads[i].innerHTML.search(threadNameFilter)!=-1){
threads[i].parentNode.parentNode.setAttribute('style','display:none');}}

posts=document.getElementsByTagName('blockquote')
for(i in posts){
if(posts[i].innerHTML.length<minimumPostLength||posts[i].innerHTML.search(postfilter)!=-1){
posts[i].parentNode.setAttribute('style','display:none')}}

tripdata=document.getElementsByClassName('postertrip');
for(i in tripdata){if(tripdata[i].innerHTML.search(tripFilter)!=-1){
tripdata[i].parentNode.parentNode.parentNode.setAttribute('style','display:none');
}}

namedata=document.getElementsByClassName('postername');
for(i in namedata){if(namedata[i].innerHTML.search(nameFilter)!=-1){
namedata[i].parentNode.parentNode.parentNode.setAttribute('style','display:none');
}}

badfield=document.getElementsByClassName('emailfield');
for(i in badfield){badfield[i].setAttribute('style','display:none');}
datedata=document.getElementsByClassName('posterdate');
if(hideDate){for(i in datedata){datedata[i].setAttribute('style','display:none');}}

tripdata=document.getElementsByClassName('postertrip');
if(hideTripCode){for(i in tripdata){tripdata[i].setAttribute('style','display:none');}}

namedata=document.getElementsByClassName('postername');
namedata2=document.getElementsByClassName('namelabel');
if(hideNameField){
for(i in namedata){namedata[i].setAttribute('style','display:none');}
for(i in namedata2){namedata2[i].setAttribute('style','display:none');}
}

Name: Anonymous 2010-07-02 4:01

http://pastebin.com/cF7jevte
Pastabin version.

Name: Anonymous 2010-07-02 4:16

>>40

Dude that is a lot of filters. Some filters aren't even reasonable.

Name: Anonymous 2010-07-02 4:37

Use the pastebin version, shiichan changed the regexp

Name: Anonymous 2010-07-02 5:38

[quote]Polecat(|s) Kebab(|s)[/quote]
U MENA "Polecats? Kebabs?"

Name: Anonymous 2010-07-02 10:13

>>44
The latter is more versatile when you need to add variants e.g.(a|b|c|d)

Name: Anonymous 2010-07-02 10:36

>>45
It's not difficult to rewrite a regular expression.

Name: Anonymous 2010-07-02 10:55

Name: Anonymous 2010-07-02 11:52

>>47
That's literally all you know about regular expressions, isn't it?

Name: Anonymous 2010-07-02 13:18

>>48
express this as 'c?' then
/troll(s|ing|ed|able)/

Name: Anonymous 2010-07-02 13:28

>>49
So you're trying to justify your hideous use of (|s) over s? because you can add more options?

Name: Anonymous 2010-07-02 13:31

People who program without regard for future code expansion should not program at all. They make unmaintainable and buggy code which is difficult to grasp and repair.

Name: Anonymous 2010-07-02 13:54

>>47
The problem of validating (and parsing) email addresses is what finally got me out of the bad habit of rolling my own implementations. I get the feeling a C implementation could be had in less space and yet greater clarity than that monstrous regex.

Name: Anonymous 2010-07-02 14:34

>>52
I get the feeling a C implementation could be had in less space and yet greater clarity than that monstrous regex.
Well, you're wrong about that. Sorry.

Name: Anonymous 2010-07-02 14:39

>>53
Sorry, I'm not taking your word for it.

Name: Anonymous 2010-07-05 19:26

FILTER MY ANUS

Name: Anonymous 2010-07-05 23:15

>>55
An usable interface.
What an us bias!
Really a nusance(sic).

Name: Anonymous 2010-07-05 23:24

>>56
Anius.

Name: 1.10b 2010-07-05 23:39

Name: Anonymous 2010-07-06 5:38

>>58
Bump for filter.

Name: Anonymous 2010-07-06 8:29

JEWS

Name: Anonymous 2010-07-06 16:09

nigger hur dur oldfag newfag your mother vote up b g ohgod halp masturbate finally found slashdoted /prob/ russian supercomputer i dont even smoke everyday anus A N U S desu desu going to necro threads back to ur gay lain lisp lol what my homework is army of 12 year old autistics AIDS AND FAIL get polecat kebab wholesale weed oldfag newfag no ok yes maybe nigger AFRICAN AMERICAN negro jews no exceptions lol secret raid please don't do that LOLOLOL fail fail fuck off usingenglish.com back to the imageboards get the fuck out ignore troll op is a fag v8 .1c .ru fucknozzle read SICP send this to everyone brofist get out you fail it. runescape gold U MENA HASKAL IHBT YHBT WHBT IWNBT

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