Block Everything! – An AdBlock Filter List

I browse the web using the ad blocker uBlock Origin. I use the default filter lists, plus all the annoyance filter lists, plus Web Annoyances Ultralist. Even with those, there’s a couple of annoyances that aren’t blocked. Things that probably don’t bug a majority of people, but they bug me. Things like…

  • New Reddit “Top broadcast right now” videos
  • YouTube homepage “Recommended movies”, “Latest YouTube posts”, and “Breaking news”
  • LinkedIn tips cluttering up homepage and my profile page

I went ahead and wrote some filters to block these. I found the pattern any-tag-but-div:has-text(/^RegEx$/):upward(#) to work really well, even for pages with obfuscated code like New Reddit and LinkedIn.

created a GitHub so I can sync my list across all my devices. If you’re interested, you can add the list there, or help out.

Here’s the filters so far. Hope they help 🙂

!YouTube
youtube.com##ytd-primetime-promo-renderer
youtube.com##ytd-rich-section-renderer:has-text(Recommended movies)
youtube.com##ytd-rich-section-renderer:has-text(Latest YouTube posts)
youtube.com##ytd-rich-section-renderer:has-text(What did you think of this video?)
youtube.com##ytd-rich-section-renderer:has-text(Breaking news)

!Old Reddit
reddit.com###redesign-beta-optin-btn

!New Reddit
reddit.com##h2:has-text(/^Updates from reddit$/):upward(1)
reddit.com##h3:has-text(/^Top broadcast right now$/):upward(7)
reddit.com###TrendingPostsContainer
reddit.com##button:has-text(/^Try Now$/):upward(4)

!LinkedIn
linkedin.com##h4:has-text(, complete these steps to get the most out of LinkedIn):upward(4)
linkedin.com##h2:has-text(Profile Strength:):upward(4)
linkedin.com##h2:has-text(Your Dashboard):upward(5)
linkedin.com##h2:has-text(Strengthen your profile):upward(5)
linkedin.com##strong:has-text(Show recruiters you’re open to work):upward(14)
linkedin.com##a:has-text(Try Premium for free):upward(3)

!DailyMail
dailymail.co.uk##div[data-api-host="https://www.newzit.com/api"]
dailymail.co.uk##.more
dailymail.co.uk##.hp-swipe