Thumb

4chan filter

By aeosynth Last update Nov 4, 2009 — Installed 22,884 times. Daily Installs: 53, 81, 64, 140, 58, 55, 58, 186, 80, 103, 89, 35, 38, 60, 54, 81, 68, 56, 279, 59, 54, 32, 46, 53, 38, 56, 61, 93, 75, 101, 51, 60
Script Summary:
Regular expression + manual filtering.
Version: 6.0.8
Copyright: 2009, James Campos
License: GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
Recently Updated TopicsPosts
Filters6
6.0 wouldn't work for me3
only the word 'desu': ^desu$4
Blank threads4

this script has 30 topics, 171 posts

Review Summary
5 stars
1 reviews (1)
4 stars
1 reviews (1)
3 stars
0 reviews (0)
2 stars
0 reviews (0)
1 star
0 reviews (0)

this script has 2 reviews

How to write bug reports
Compatibility: Firefox 3.5+, Opera 10+ (with this)
Enable thread hiding with 4chan X or 4chan extension.
Compile extensions here. Previously ported to Opera here. Inspired by the muon 4chan Filter.
Last version compatible with Ff 3.0, Opera 9: http://userscripts.org/scripts/version/33916/10...

Donate

Features

Thread Stats: click to reload filters, drag to move dialog box
Fappe Tyme: hides replies with no image
Name-File: hides posts containing the expressions (use a semicolon ';' to seperate). Case Insensitive.

hide: hides posts (you can also press enter in a text field to do this)
show: shows hidden posts
main/adv: toggles between main and advanced options
auto: toggles auto-hide

In 'adv' there are more preferences -
Min Width/Height - replies with images smaller than this will be hidden when 'Hide Text' is checked. Gifs not affected.
Manual Filtering - adds hide buttons to replies
Show Stubs - show the stubs of filtered posts, allowing you to unfilter them individually.
Auto Tyme - Remeber Fappe Tyme preference
Alternate Skin - try a dif skin
Sticky - box moves with screen
Clear Hidden - clear the list of manually hidden posts

Options: at the end of a filter you can add a space, a dash (-), and:
f to ignore posts with files (images) attached
h to ignore html
i to turn off case insensitivity
note: f and h only work for comments.

Known Issues

To filter 'less than' (<) and 'greater than' (>), use the -h option.
Subject filtering doesn't work for text boards.

RegEx Tips

The characters .*+?^${}()|[]/\ are RegEx operators. To use them as normal characters, add a backslash '\'. Thus to filter 'right?', you'd use 'right\?'.

Use the following to filter out posts with...
BBAAAWWWWs of varying length: b+a+ww+ (use two w's to not filter bawdry, bawl, etc)
repeated phrases: (phrase){n} (where n = number of repetitions)
n newlines: (.*?< br >){n} (no spaces)
a single paragraph containing at least n characters: .{n,}(< br >|$) (again, no spaces)
m through n characters: ^.{m,n}$ (can filter out low-char posts or isolate writefaggotry)
'sage', but not 'messages': \bsage\b
only the word 'sage': ^sage$
one word or less: ^\S*$
no alphanumerics: ^\W*$ (use -h to ignore html)
namefags: ^(?!Anonymous$) (add -s for case sensitivity)

Version Info

6.0
Added manual hiding
Broke Ff 3 / Opera 9 compatibility
Changed name from 4chan thread filter to just 4chan filter

5.2.x
Added global/board filters
Works on ghost posts
Tweaked auto hide text

5.1.x
Added an option to auto hide text.

5.0.x
Split off image expander - http://userscripts.org/scripts/show/48538
Removed 'fag' name option. Finally figured out how to make negated reg expressions.
Added -s, case sensitive searches
Made all fields expandable

4.8.1
Reworked options yet again. Hopefully they work this time.

4.8.0
Removed Max Line Breaks; comments now see html by default
Reworked options, and added -h.

4.7.1
Moved hidden prefs to dialog box
Fixed bugs w/ Expand to Full
Fixed potential bug with image filtering.

4.6.0
Added Expand to Full
Added tooltips
Initial easymodo support. Note: most image features don't work.

4.5.0
Show post count again, instead of reply count
Text Reply auto-working on new posts (adv functionality not yet implemented)
Movement fixed for text boards

4.4
Re-fixed 4chan extension 'hide threads' bug.

4.3
Fixed a bug which caused script to not load on front page if 4chan extension's nav buttons enabled.

4.2
Code refactoring
Unresponsive script REALLY fixed this time
Regression: image/post count not updated for hidden threads

4.1
Unresponsive script warning when opening threads with 200+ posts. Fixed.

4.0
4chan extension expand posts supported
Added 'Fit Screen'
Fixed autohide and tripcode bugs

3.3
Click on stats to refresh text inputs. Useful when editing filters across multiple tabs.

3.2
GPL'd

3.1
Minor optimizan

3.0
Added 'Expand Size' options.
Included support for suptg.
Removed highlighting. I might bring this back as an add-on or plugin.
Removed moar/less.

2.0
Work on text boards. Done.

1.3
Ctrl-clicking on images doesn't work. Fixed.
Added 'clickable' and 'scrub' options in source.

1.1.2a
Thumbnail unavailable images handled correctly
Code cleanup
I should give thanks to the 4chan extension, I've been looking at its code to develop my own image features.

1.1.1b
When auto-hide is checked, box doesn't start auto-hidden. Fixed.

1.1.1a
Hiding images according to size doesn't work. Fixed.

1.1.1
Put all the preferences in the GUI. Done.
Add style options. Done.
Using \i in two consecutive filters will make the second one not take. Fixed.
No longer sees HTML; don't use < br > tags anymore.

1.0.1
Add minimum image size for 'Hide Text'.
Improve image expansion.
Add option to only filter replies unattached to an image.
Don't filter OP when in reply mode.
Option to not auto-expand front page.
Don't remember choice for 'Hide Text'.
Allow image filter to see image size/dimensions and work on front page.
Add highlighted stats
Fixed a bug which unhid threads hidden by 4chan extension.
Removed 'Hide Blankposts'. Obsoleted by \i.

1.0.0
Works w/o 4chan extension again
Improved expanded image placement

0.9.6
Works on front page now.
Regular expression filters.
Inline imaging.
Split off wordfilter bypass. Get it here.

0.9.5a
Fixed Auto Hide bugs

0.9.5
Added Auto Hide.
Added Hidden Posts stats.
Added style recognition.
Changed box opening behavior to recognize on-screen position.
Removed 'anonymize' function. Use this or this instead.
Removed 'zap embeds' function. Use this instead.
Improved filtering.
Fixed highlighting to work through Stylish (though it doesn't look that great).

0.9.4a
Fixed a bug which caused dialog box to take up too much space while loading.

0.9.4
Added newline filtering
Dialog box can now snap to all sides
Fixed blankpost filtering

0.9.3
Fixed 'Sticky' to remember choice. Reorganized dialog box.

0.9.2
Now with editable wordfilter, embedded object zapper, image expander, draggable dialog box, non-alphanumeric filtering, and explicit line break recognition. Code snipets from 4chan Expand All Images used for image expander.

0.9.1
Enhanced faggotry removal, per /r/equest. Fixed a bug which prevented script from automatically working on page load.

0.9.0:
Added thread stats. Added name, tripcode, subject, and image name filtering. Added 'Text Reply' filter. Added wordfilter bypass. Added dialog placement controls. Code snippets from tkirby's/b/ypass used for wordfilter bypass.

Update 1:
Fixed email filter to actually filter email instead of poster name.