Add two controversial filter examples.

This commit is contained in:
Nicolas Stepien 2012-02-21 15:45:08 +01:00
parent f201e0a470
commit 6e0cd10b70
2 changed files with 6 additions and 4 deletions

View File

@ -136,8 +136,8 @@
}
},
filter: {
name: [''].join('\n'),
tripcode: [''].join('\n'),
name: ['# Filter any namefags:', '#/^(?!Anonymous$)/'].join('\n'),
tripcode: ['# Filter any tripfags', '#/^!/'].join('\n'),
email: ['# Filter any e-mails that are not `sage` on /a/ and /jp/:', '#/^(?!sage$)/;boards:a,jp'].join('\n'),
subject: ['# Filter Generals on /v/:', '#/general/i;boards:v;op:only'].join('\n'),
comment: ['# Filter Stallman copypasta on /g/:', '#/what you\'re refer+ing to as linux/i;boards:g'].join('\n'),

View File

@ -54,10 +54,12 @@ config =
'Forward Hiding': [true, 'Hide original posts of inlined backlinks']
filter:
name: [
''
'# Filter any namefags:'
'#/^(?!Anonymous$)/'
].join '\n'
tripcode: [
''
'# Filter any tripfags'
'#/^!/'
].join '\n'
email: [
'# Filter any e-mails that are not `sage` on /a/ and /jp/:'