ccd0 / 4chan-x

Adds various features to anonymous imageboards.
https://www.4chan-x.net/
Other
980 stars 133 forks source link

Could you filter an unique string from a particular flag? #3445

Open Rioliogiz opened 8 months ago

Rioliogiz commented 8 months ago

Could you filter an unique string from a flag? As in you can see posts from that flag except for those that contain the string?

For example, if i want to hide posts from canada that contain "incel" on sp, trying this under general doesn't work as it hides all the posts that contain "incel" regardless of flags. incel/i;stub:no;boards:sp;flag:canada:only

Is there anyway to do this? Sorry for the retarded question.

saxamaphone69 commented 8 months ago

Your best bet might be to create two filters. In General: /incel/i;boards:sp;highlight:hide-incel;top:no In Flag: /^Canada$/;top:no;highlight:hide-canada

And then in Custom CSS, .hide-incel.hide-canada { display: none; }

Rioliogiz commented 8 months ago

Your best bet might be to create two filters. In General: /incel/i;boards:sp;highlight:hide-incel;top:no In Flag: /^Canada$/;top:no;highlight:hide-canada

And then in Custom CSS, .hide-incel.hide-canada { display: none; }

This works. Thanks a bunch anon