[PYTHON] How to block ads for free on iPhone and iPad apps

Referenced articles

How to "remove" "advertisements" for free with the iPhone app (ad blocking iPhone iPad app) Ad block iPhone LINE spotify SmartNews Gunosy Annoying how to erase many ios ipad Minhaya game Ad erase chrome https://saltiga.hatenablog.com/entry/2020/02/14/221426

Use an app called DNS cloak for blocking

https://github.com/s-s/dnscloak

https://github.com/DNSCrypt/dnscrypt-proxy

DNS cloak is a wrapper for go's dnscrypt2. (Both are OSS)

Set up a local DNS server to block ads by not returning requests for the URLs of the ad servers listed in the filter.

You can completely block video ads that run on the app.

The place where the advertisement was placed will be blank. (It is technically possible to format and return html so that there are no blank parts, and adguard etc. do it, but there is a security problem)

How to remove the actual advertisement

1 Install "dns cloak" and "shortcut" in the app store

[https://itunes.apple.com/jp/app/id1452162351:embed]

[https://itunes.apple.com/jp/app/id915249334:embed]

2 Open the following link in Safari (shortcut will start)

[https://www.icloud.com/shortcuts/f26f84bd19e24c548079a12e0b622664:embed:cite]

3 Click "Add Shortcut"

[f: id: saltiga: 20200214215208j: plain]
Shortcut ad block

4 Press "My workflow" at the bottom left of the screen and click "DNS cloak helper" (dns cloak will start)

[f: id: saltiga: 20200214215711j: plain]
dns cloak hellper ad block iPhone < / figure>

5 Select DNS on the DNS cloak screen and press the play button on the upper left (recommended because cloudflaire is the fastest).

[f: id: saltiga: 20200214221056j: plain]
ad blocking dns screen

6 If the message VPN appears in the upper left, you are successful!

If you can't, please report it in the comments. I will tell you if the cause is known.

  • Reference / citation source

[https://www.reddit.com/r/privacytoolsIO/:embed:cite]

[https://wikiwiki.jp/nanj-adguard/iOS%E3%81%AB%E3%81%8A%E3%81%91%E3%82%8B%E5%BA%83%E5%91%8A%E3%83%96%E3%83%AD%E3%83%83%E3%82%AF:embed:cite]

Recommended Posts