confirmedcode / Lockdown-iOS

GNU General Public License v3.0
900 stars 85 forks source link

Ads in the Youtube app #53

Closed TheMMcOfficial closed 4 years ago

TheMMcOfficial commented 4 years ago

I don't know if you can add a dns list for Youtube.

TheMMcOfficial commented 4 years ago

You can get the list here: https://raw.githubusercontent.com/eEIi0A5L/adblock_filter/master/youtube_wo_tonikaku_filter.txt or https://filterlists.com/lists/youtube-filter-for-blocking-ads

hijohnnylin commented 4 years ago

Have you been able to successfully get Youtube Adblocking working by adding them to Custom Domains? AFAIK it's kind of a moving target.

TheMMcOfficial commented 4 years ago

Is there a way to add them via a file? I don't have the time to add them one by one via the app. Also I can't rebuild thee app because I don't have access to a Mac....

TheMMcOfficial commented 4 years ago

The site above contain the DNS list of all the adblock including uBlock Origin and Adblock Plus. You can search for some domain that you want to block and add the list to your app. It will be the best adblock on IOS if we take the time to add them. ;)

hijohnnylin commented 4 years ago

This is a good first issue if someone wants to hop in to help out. The primary question is: Is it possible to block Youtube ads with a domain-only blocking approach (without breaking Youtube itself).

TheMMcOfficial commented 4 years ago

Yes I manage uBlock origin on my pc with umatrix and when I unblock all the domain needed for youtube it works well and they track me less. For youtube the important domaine are youtube.com and googlevideo.com I can check all the domain that I allow. On mobile it can be different I don't have a way to check them and block/unblock unwanted domains...

TheMMcOfficial commented 4 years ago

https://discourse.pi-hole.net/t/how-do-i-block-ads-on-youtube/253

I also found this! Pihole is a way you can block ads only via dns. You setup a raspberry pi and you redirect your dns request on the pi. If you want ads you can use an other dns server for the device. You can also whitelist domains, etc.

If Lockdown allow some regex and a way to add some list of unwanted domains we may have a potential solution there

hijohnnylin commented 4 years ago

Thanks for the update.

According to the link you sent, the conclusion after a long 4 year discussion, was that DNS blocking approach against Youtube Ads doesn't really work - the developer from 17 days ago closed the thread:

image
TheMMcOfficial commented 4 years ago

ah ... this is sad I got the same answer from one of your competitor https://adguard.com/en/article/how-to-block-ads-on-youtube.html#6

hijohnnylin commented 4 years ago

Appreciate the research. Will close this for now, let's revisit when a solution pops up.