aghontpi / ad-silence

Mute Ad/promotions from Accuradio, Spotify, Soundcloud, TIDAL & Pandora Android. Minimal, extensible & lightweight under 150kb.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blocking YouTube Ads

HonestAbe7 opened this issue · comments

Since you wrote you would be open to adding more streaming services, I was wondering if you could please also block YouTube ads? I don't use the Android app but just go through the web and I use Bromite as my browser and the Puffer app to block other ads and I still get the YouTube ads. Thanks

Hello @HonestAbe7, this app works using notification posted by the app, since "youtube/youtube music app" does not post notifications, it can not be done.

however, you can try "https://github.com/YTVanced" ( not open source tho ).

edit/update: m.youtube.com does post notifications while viewing in chrome!, I'll investigate this further.

I updated my previous reply, you are right about the 'youtube ads' when viewing on browser without using the youtube app and it should be doable.

in the mean time, I strongly suggest you try newpipe - "https://github.com/TeamNewPipe/NewPipe/releases/" or newpipe with sponserblock "https://github.com/polymorphicshade/NewPipe/releases/". (both openSource)

Thanks for helping me with this. Good information. I started using AdAway instead and haven't seen any ads yet with the NewPipe Legacy app. I will try the sponsorblock version if I notice ads.

Im glad I could be of help.

an update~
I looked into the notification (i.e notification when accessing youtube in browser), there are a few problems..

  • there is no identifiable information to clearly distinguish the audio that is playing is an ad. (since m.youtube.com does not tell the notification that it is an ad)
    • intercepted and parsed it but not enough info 😞
      notification_object
  • maybe video length can be used..but no. (some ads are short but others are not.)

Even If i Identify it as an ad, since the term browser is generic, I have to keep a list of all browsers and track their notifications or get a particular browser name from the user...which is leading to a rabbit hole... so Im archiving this request until there are new findings/ developments.