Users of AdGuard for Windows, Mac, and Android may notice that AdGuard adds a small script to every web page, that is loaded from the local.adguard.org
domain.
First of all, don't worry, this is not a real domain, and there is actually no real server with that name. This domain is used to apply cosmetic filtering to web pages, but everything is done locally right on your device without connecting to any server.
But what's going on and why is it done? Please read the technical explanation below.
<script src="https://local.adguard.org/.../content-script.js">
. This "content script" takes care of cosmetic filtering, hides or removes ad content from the web pages.local.adguard.org
domain are intercepted by AdGuard on the network level and processed locally. This is why that domain has a "static" IP address that does not change for years.Why do we need to use a real IP address for that?
127.0.0.1
as the browsers won't accept it.local.adguard.org
.This is easy to verify. If you disable AdGuard, you'll see that it is simply impossible to establish connection to local.adguard.org
since there is no server with that address. Just try opening it in your browser when AdGuard is disabled.