4chanX thread

Discuss and share your themes, filterlists, whatever related to 4chanX. Other userscripts like Oneechan are welcome as well.

4chanX:
Any Forums-x.net/
CSS basics:
developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/CSS_basics
Regex basics :
developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
Regex for retards:
put / in front of the keyphrase you want to filter and /i; after it. then use selectors like op:only; and boards:g; to make the filter only apply to OP or only certain boards. Here's an example
/windows/i;op:only;boards:g
This will filter any thread that has "windows" in OP's post

Here's a list of useful selectors for making your own CSS theme. It's not all inclusive, just the basic shit. Inspect Element is your best friends with this.
IF SHIT DOESN'T WORK, USE !IMPORTANT

.catalog-stats
Access the posts/files/page section of threads in the catalog

.catalog-thread.watched .catalog-thumb
Access all threads that you have on watchlist. useful for changing the watched color

.highlight-own .yourPost > .reply
Access all posts in a thread that you made

.quotelink
Access quote links, useful for changing color

.deadlink
same as before but for deadlinks

div.reply
Access all reply divs in a thread

.catalog-post
Access all thread divs in the catalog

.tomorrow.catalog-hover-expand .catalog-container:hover > .post
Access all the hover divs in catalog

.qr-link
Access the post when hovering over a quotelink

.navlinks
[index][catalog][bottom]

.header-bar
header bar at the top of your page, idk what to say.


Disclaimer: I'm very drunk at the moment so if there are any small errors please don't bully me too much.

Attached: 1628792239802.png (16x16, 217)

Other urls found in this thread:

pastebin.com/gjaTHMN9
pastebin.com/TfxePQFZ
pastebin.com/G9Pfhfs0
github.com/ryanrms/oneechan-themes
github.com/ryanrms/oneechan-vt
appp.me/dj3EsH
twitter.com/AnonBabble

Why is there no suckless version of this extension?

web browsers are inherently bloated. I just like mine to suck a little less.

Because Any Forums sucks

there is.
it's the native extension.

How do you format code on 4chins?

Attached: 1625256000275.jpg (360x360, 21.98K)

\[code\]

cargo fmt

Thanks, let's try this.
I like these filters:
# Filter posts with 7 or more quote links:
/(?:>>\d(?:(?!>>\d)[^])*){7}/
# Filter stupid posts
/(?:>>\d(?:(?!>>\d)[^])*){1}\nsneed$/i;stub:no;
/^sneed$/i;stub:no;
/(?:>>\d(?:(?!>>\d)[^])*){1}\nS N E E D$/i;stub:no;
/^S N E E D$/i;stub:no;
/(?:>>\d(?:(?!>>\d)[^])*){1}\nup in the club$/i;stub:no;
Yes I browse Any Forums, how could you tell? I guess there is a way to optimize this shit but regex isn't my thing.

What the hell is that last one?

Some Sopranos spam, I dunno. I saw it once and filtered it immediately because it was killing a thread I was following.

why is the gallery mode not working anymore? all of sudden it just stopped working

Works for me. check your binds and maybe reinstall?

Dead and bloat.

cringe and incorrect

Someone make a non gay filter for /gif/

Here's my filter list. By no means exhaustive, most of the time I forget to add one if I see retarded shit.
pastebin.com/gjaTHMN9

It takes surprisingly few subject filters to 'clean' up /gif/: pastebin.com/TfxePQFZ

Also, is there some way to make the media skip functions key work with gallery mode? Play/pause works just fine but it doesn't seem to recognize the skip back/forward controls.

Just added
/sissy/i;boards:gif;op:only
/cuck/i;boards:gif;op:only
as well

And I guess you'll want some tik tok spam filters as well
pastebin.com/G9Pfhfs0

Name a better Any Forums extension

>It takes surprisingly few subject filters to 'clean' up /gif/
>10 filters
It's like you want to watch turd dicks

Attached: 1630139669824.png (1135x712, 93.4K)

I don't really browse /gif/ so I just haven't encountered most of these variations.
Concerning regex, what do all those options do? I assume .? is about spaces?

Also could you post that list in text format please

Here are my contributions to Any Forums X/Oneechan, well, mostly just Oneechan:

Extra themes for Oneechan:
github.com/ryanrms/oneechan-themes
/vt/ mascots:
github.com/ryanrms/oneechan-vt

Some other user made it, I just added something
appp.me/dj3EsH