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

    • FrostyTrichs@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      YouTube filtering is fairly unique to YouTube since they serve ads so aggressively so it’s unlikely to help on other sites.

    • driving_crooner@lemmy.eco.br
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      J guess you need to adapt the code fot the page in question. If you read the code, it is setting some values to variables youtube checks for.