Follow

Here's another handy rule for your XPath-aware adblockers, to improve your viewing experience on QOTO.

By default, when you create a filter in Mastodon, any matched post is replaced by a useless stub - you can't expand it to see the original post, you can't dismiss it, you can't do anything but leave it there. Each stub takes up less space than the original post, but many of the nuisance posts you'd want to filter come in swarms, so it still ends up occupying a big chunk of screen space.

Here's a rule to remove those stubs. To the viewer, they're invisible, but the original text remains in the browser's memory in case you want to have a look.

qoto.org##:xpath(//div[contains(concat(' ',normalize-space(@class),' '),' status__wrapper--filtered ')]/ancestor::article)

@khird
> Each stub takes up less space than the original post, but many of the nuisance posts you'd want to filter come in swarms, so it still ends up occupying a big chunk of screen space.

Lol... Whose content would that be, I wonder. LOL.

Thanks, Kyle, a useful contribution. It would be nice to not have those stubs displaying yes.

Mye I will copy and add this to my "In case you don't like Cats" Topic, prominently pinned at the top of my profile here.

Improving our personal users experience is important. Thank you!

@design_RG meaning no disrespect, but if I have to make multiple filters for someone I just mute them. Filters are just a tool to improve the signal-to-noise ratio of someone's posts, but there comes a point where the effort invested exceeds the payoff. You can have a filter for cat pics OR for the penpal app OR for banging pleroma's drum, but in combination they drop the SNR beyond what I was interested in salvaging.

I wrote this XPath rule because a remote account I follow seems to have recently deployed some kind of a crossposter, and my home (not local) timeline was getting flooded with twitter URLs in batches of ten to twelve.

@khird Thank you for replying and clarifying, I am sensible to not overwhelm people and try to keep my cat import operation on a limited amount each time I visit Twitter.

So I was curious if the filter you shared was intended for that. Thank you for sharing it -- as a blog post with full explanation of the Filter features is on my to do topics list, besides many other things.

I will include and credit this, with a link back to the post as I usually do. You explanation makes sense, I was astounded by the incessant stream of CW'ed content cropssposted by clueless person at Todon.nl -- reason I wrote a quick guide there, in Spanish, to help out weed the field. 😺

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves. A STEM-oriented instance.

An inclusive free speech instance.
All cultures and opinions welcome.
Explicit hate speech and harassment strictly forbidden.
We federate with all servers: we don't block any servers.