To get rid of the annoying YouTube message (ad blocker are not allowed on Youtube) use this custom filter in uBlock extension

  1. Open uBlock extension dashboard
  2. Open my filters tab
  3. Copy & Paste this code into my filter
  4. Apply changes and close all tabs

via: enderman

  • mouth_brood@lemmy.one
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Is the any way to add something like this to my pihole to block all this shit network wide?

    • denny@feddit.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Pihole, if i understand correctly, works by blocking DNS requests and YouTube ads are not DNS based the way ads usually are. You're stuck blocking them by uBO on each device or use Invidious.