mirror of
https://github.com/tanrax/maza-ad-blocking.git
synced 2024-11-23 23:55:41 +01:00
Compare commits
No commits in common. "b2a4d7217b3144f1f3165286981625952faa3496" and "ac9fe2a3df0c0f2f0de2585a3a2490fa7526248d" have entirely different histories.
b2a4d7217b
...
ac9fe2a3df
20
README.md
20
README.md
@ -28,7 +28,6 @@ Simple, native and efficient **local ad blocker**. Bash script compatible with *
|
||||
|
||||
- [Commands](#-commands)
|
||||
- [Install or update](#%EF%B8%8F-install-or-update)
|
||||
- [Check if you block ads](#-check-if-you-block-ads)
|
||||
- [Auto update of domains to be blocked](#-auto-update-of-domains-to-be-blocked)
|
||||
- [Uninstall](#-uninstall)
|
||||
- [Not blocking certain domains](#-not-blocking-certain-domains)
|
||||
@ -83,25 +82,6 @@ Optional but recommended, make a backup of your hosts file.
|
||||
sudo cp /etc/hosts /etc/hosts.backup
|
||||
```
|
||||
|
||||
## 🧪 Check if you block ads
|
||||
|
||||
You can run a test to see if the domains are blocked.
|
||||
|
||||
For example, you can run the following command.
|
||||
|
||||
``` bash
|
||||
curl googleadservices.com
|
||||
```
|
||||
|
||||
If you get an error like this, it means that the domain is blocked.
|
||||
|
||||
``` shell
|
||||
curl: (7) Failed to connect to googleadservices.com port 80 after 2 ms: Could not connect to server
|
||||
```
|
||||
|
||||
But if you get a response with HTML, it means that the domain is not blocked (maybe a 404 error).
|
||||
|
||||
|
||||
## 🤖 Auto update of domains to be blocked
|
||||
|
||||
Open your `cron`.
|
||||
|
Loading…
Reference in New Issue
Block a user