mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-26 01:38:07 +00:00
29 lines
1.3 KiB
Markdown
29 lines
1.3 KiB
Markdown
Ad blocking
|
|
-----------
|
|
|
|
* Download/install the latest NetGuard version [from GitHub](https://github.com/M66B/NetGuard/releases)
|
|
* Enable the setting '*Filter traffic*' (always enabled on Android 5.0 or earlier)
|
|
* Enable the setting '*Block domain names*' (default enabled)
|
|
* Import or download a hosts file using the appropriate option
|
|
* Disable browser compression (Chrome: three dot menu > Settings > Data Saver > Off)
|
|
* Wait 10 minutes to let the Android DNS cache time out
|
|
* Test if it works by opening [this page](http://www.netguard.me/test)
|
|
* Enjoy ad blocking
|
|
|
|
Note that applications, like the browser, may cache data, so you might need to clear caches.
|
|
|
|
Which hosts (domains) will be blocked depends on the hosts file being used.
|
|
|
|
NetGuard provides the [StevenBlack hosts file](https://github.com/StevenBlack/hosts) download with the following additions:
|
|
|
|
* reports.crashlytics.com
|
|
* settings.crashlytics.com
|
|
* e.crashlytics.com
|
|
|
|
See [here](https://github.com/M66B/NetGuard/issues/277) for alternative hosts files.
|
|
|
|
NetGuard does not concatenate hosts files, so you will have to use a source which does this for you or do it yourself.
|
|
|
|
You can check the number of hosts (domains) imported by pulling the NetGuard notification down using two fingers.
|
|
|
|
**Note that ad blocking is not available when NetGuard was installed from the Play store!**
|