linuxFan,

If you want you can look through the html and select the exact element you want.

Right click on the channel name/link and select Inspect. This should open up the browser's dev mode and the element should already be highlighted. Right click it and select Copy > CSS Selector. You can paste that into the UBlock filter replacing post-listing.

The first element, div.post-listing:nth-child(17) is only going to check the nth(17th in this case) post on every page, so remove that nth-child() part. The rest of it should select the exact element you're looking for.

The upward(10) means instead of just hiding this element, go 10 levels up in the html document and hide that whole block.

So in my case, it looks like this:

vlemmy.net##div.post-listing > div:nth-child(2) > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) > div:nth-child(1) > ul:nth-child(2) > li:nth-child(1) > span:nth-child(2) > a:nth-child(2) > span:nth-child(2):has-text(@lemmynsfw.com):upward(10)

You'll have to change the domain at the beginning to your instance.

image showing how to select html text for UBlock filter

  • All
  • Subscribed
  • Moderated
  • Favorites
  • youshouldknow@lemmy.world
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • modclub
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • love
  • ngwrru68w68
  • kavyap
  • osvaldo12
  • Durango
  • anitta
  • cisconetworking
  • GTA5RPClips
  • tester
  • everett
  • thenastyranch
  • khanakhh
  • tacticalgear
  • normalnudes
  • provamag3
  • Leos
  • cubers
  • megavids
  • JUstTest
  • All magazines