Can you please share which ad blocker you use and how we might use regexes to do this? Sounds fascinating and I want to do that myself
It's basically CSS selectors, but with some very powerful ones added in too.
Check the docs for details https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-f...
The particular filters I use include things like:
! Kills "You won't believe something useless! Some subtitle" youtube.com##ytd-rich-item-renderer:has-text(/you won'?t .*!( .*)?/i) ! Kills "100 idiotic life hacks that are definite safety hazards!" youtube.com##ytd-rich-item-renderer:has-text(/(\d+) (.+)s/i)
Also look at the sibling comment about other distraction-removals like shorts and engagement callout taming.
Can you please share which ad blocker you use and how we might use regexes to do this? Sounds fascinating and I want to do that myself