From 3bbb0fe23a4380ff7aa6f8c9649b4d02e8d972d2 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Wed, 13 Nov 2024 09:18:18 +0100 Subject: [PATCH] Add test --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 96dba4d..0514a66 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,25 @@ 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`.