On another post, an user had asked for the filters I use, so pasting them below to make usability in Mbin better.

Some notes:

  • From what I checked from page sources of a few instances using Mbin, and considering a few of those filters were for kbin.social (RIP) and then repurposed without major adaptations, those filters shouldn’t break on most Mbin instances, at least as the engine and its implementations are now.
  • Using thebrainbin.org as the site for the filters to check, but that can be replaced with the site you may be using, like fedia.io, kbin.earth, etc.
  • For disabling a given filter, or to add comments on Ublock Origin’s filters page, add a ! to the beginning of the line.
  • Worth noting those filters also make the title and body of posts disappear in the posts’ respective pages when active.

The filters:

Hiding specific posts

thebrainbin.org##a[href=“href_here”]:upward(article[id^=“entry-”])

Explanation:
href_here is what appears after the domain name, so for example:
https://thebrainbin.org/m/fediverse@lemmy.world/t/545669/This-is-not-a-complaints-forum
What you want is /m/fediverse@lemmy.world/t/545669/This-is-not-a-complaints-forum, which turns the filter into this:
thebrainbin.org##a[href="/m/fediverse@lemmy.world/t/545669/This-is-not-a-complaints-forum"]:upward(article[id^="entry-"])

This filter needs to be repeated for each post you want to hide.

Probably could replace href= for href^= (matches anything that starts with what comes after it) or href*= (matches anything that includes what comes after it), if this is faster for anyone, so for example:
thebrainbin.org##a[href^="/m/fediverse@lemmy.world/t/545669/"]:upward(article[id^="entry-"])
thebrainbin.org##a[href="/545669/"]:upward(article[id^="entry-"])

Hiding communities already subscribed to or that you blocked on [the Magazines pages](https://thebrainbin.org/magazines)

thebrainbin.org##span:has-text(Unblock):upward(tr) thebrainbin.org##span:has-text(Unsubscribe):upward(tr)

Hiding posts upvoted and downvoted

thebrainbin.org##form[class=“vote__up active”]:upward(article[id^=“entry-”]) thebrainbin.org##form[class=“vote__up active”]:upward(blockquote[id^=“post-”]) thebrainbin.org##form[class=“vote__down active”]:upward(article[id^=“entry-”]) thebrainbin.org##form[class=“vote__down active”]:upward(blockquote[id^=“post-”])

Some filters for the defunct instances kbin.social & kbin.cafe I forgot to delete in case they're useful

! Kbin Cafe - hiding liked posts: kbin.cafe##form[class=“vote__up active”]:upward(article[id^=“entry-”]) kbin.cafe##form[class=“vote__up active”]:upward(blockquote[id^=“post-”])

! Kbin Social - hiding specific posts: kbin.social##a[href=“/m/memes@lemmy.world/t/951126/Totaled-Eclipse”]:upward(article[id^=“entry-”]) kbin.social##a[href=“/m/kbinMeta/p/6372596/at-ernest-I-m-up-to-cut-down-the-spam-from-all”]:upward(blockquote[id^=“post-”])

! Kbin Cafe - hiding specific posts: !kbin.cafe##a[href=“href_aqui”]:upward(article[id^=“entry-”]) kbin.cafe##a[href=“/m/linux@lemmy.ml/t/216192/What-is-wayland”]:upward(article[id^=“entry-”])

! Kbin Social - hiding my own posts: kbin.social##a[href=“/u/Auster”]:upward(article[id^=“entry-”])

  • Obelix@feddit.org
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    You can also do a simple content filter. Using feddit.org as instance:

    feddit.org##.d-sm-block.d-none > .post-container.row:has(.post-title:has-text(/trump|musk|puppies/i))

    This will hide every post which has the words “Trump” OR “Musk” OR “puppies” in the title. Or if you don’t use Apple devices and don’t want to read about their new devices in every tech community:

    feddit.org##.d-sm-block.d-none > .post-container.row:has(.post-title:has-text(/apple|iphone|macos|icloud|iOS|ipad/i))