Menu
EN

How ad blocking works

Adguard uses several filters to remove ads from the pages of websites.
The standard program package includes a number of standard filters, but you can subscribe to any filter, if need be.

Filter configuration

Adguard filters can be configured in the Protection – Ad blocker subsection of the extended interface.

Ad blocker filters list
Adguard: ad blocker filters list

Three filters are used just after program first installation:

  • Standard filter — standard language-specific filter. Depending on your computer language it could be one of English, German, Spanish, etc.
  • User filter — ad filter you can fill by yourself (using Adguard Assistant for example)
  • Spyware filter — the most complete list of various Internet trackers. If you don’t want to be monitored while browsing the web, subscribe to this filter.

Also you can enable any of following filters:

  • Social networks widgets filter — if you don’t like all these “Like” and “Tweet” buttons on the pages of websites, subscribe to this filter and you will never see them again.
  • German filter — filters optimized for German online content. If you visit such websites a lot, we recommend subscribing to it.
  • Japanese filter — filters optimized for Japanese online content. If you visit such websites a lot, we recommend subscribing to it.
  • Dutch filter — filters optimized for Dutch online content. If you visit such websites a lot, we recommend subscribing to it.
  • Spanish/Portuguese filter — filters optimized for Spanish/Portuguese online content. If you visit such websites a lot, we recommend subscribing to it.
  • Russian filter — filters optimized for Russian online content. If you visit such websites a lot, we recommend subscribing to it.
  • Experimental filter — special filter created by volunteers. Anyone can take part in creating this filter. Open-source project is available here.

Adguard Assistant

If Adguard missed some ads on a site, you can block them automatically – and this will not require special skills or knowledge. You can see small Adguard logo in the lower right corner of the browser window. This is a special component of the program called “Adguard Assistant”. Left-click on it and use the “Select an element” command from the popup menu.

Now you need to select an unblocked banner on the page and add it to the black list. A new filtration rule will be added to “My filter” – your special user filter. If you don’t need this rule, open the program window and delete it.

Ad blocking strategies

Unlike its counterparts, Adguard uses several blocking strategies simultaneously. This approach allows the program to completely remove all annoying ad banners from websites. This article will address all ad blocking strategies in detail.

Blocking ads by URL

The simplest blocking strategy. Adguard blocks requests sent to prohibited addresses and sends an empty response to the browser, which basically means that requests are not sent at all. It saves traffic and reduces the page loading time. The standard filter supplied with Adguard contains over 15 thousand blacklisted addresses.

Most Adguard competitors use this blocking strategy. Unfortunately, the use of this strategy alone is absolutely insufficient for reliable ad blocking. In most situations, you will see partially downloaded images instead of banners – just like the one below:

But is it what we look for in a good ad blocker? Such semi-downloaded banners irritate no less than normal ones and getting rid of them is a fairly natural desire of any user. However, we won’t be able to do that if are limited to this first blocking strategy only.

Blocking ads using CSS

CSS is a special language that is used for formatting and decorating web pages. The style of page elements can be set using rules. Styles can include such parameters as colors, fonts, location and even visibility of elements. And that’s exactly what we need, since we want to hide banners.

To use this mechanism, Adguard adds its own table of rules to web pages. The table consists of a large number of filtration rules capable of hiding various kinds of banners.

And what about traffic economy? Don’t worry – all modern browsers will never start downloading a banner if it has been hidden via CSS.

If a program supports the ad blocking strategies described above, it may be a pretty good ad blocker. But is it really enough for truly efficient ad blocking? Looks like it’s not. These methods still don’t solve the problem of partially downloaded images. And there is still the problem of “tricky” ad networks that deliver banners dynamically using scripts after the page is loaded to the user’s browser. Finally, there are sites that use special scripts protecting them from ad blockers and closing access to their content for users who have ad blockers running on their computers.

Let’s take a look at the next blocking strategy.

HTML code filtration

The third strategy relies on the modification of the code of a web page before it is returned to the browser. This method is unavailable to all ad blockers designed and developed as browser plug-ins. However, since Adguard is a standalone application supporting all major browsers, it can do what other products cannot.

First of all, it allows us to completely remove images, links and scripts loaded from addresses on our black list. The browser won’t even know that these elements were a part of the page and will not make any attempts to load them.

We have more flexibility in analyzing the elements of web pages and can remove items that cannot be normally removed even using CSS methods. As a rule, these are various scripts that cannot be disabled otherwise.

Sites that rely on special scripts to prevent the use of ad blockers are a standard example that proves the importance of such analysis. These scripts deny access to the site if you are using an ad blocker. If all you have is a solution that does not support HTML content filtration, you will be forced to disable your ad blocking software or blacklist the site.

Liked this post?
18,391 18391 user reviews
Excellent!

AdGuard for Windows

AdGuard for Windows is more than an ad blocker. It is a multipurpose tool that blocks ads, controls access to dangerous sites, speeds up page loading, and protects children from inappropriate content.
By downloading the program you accept the terms of the License agreement
Read more
18,391 18391 user reviews
Excellent!

AdGuard for Mac

AdGuard for Mac is a unique ad blocker designed with macOS in mind. In addition to protecting you from annoying ads in browsers and apps, it shields you from tracking, phishing, and fraud.
By downloading the program you accept the terms of the License agreement
Read more
18,391 18391 user reviews
Excellent!

AdGuard for Android

AdGuard for Android is a perfect solution for Android devices. Unlike most other ad blockers, AdGuard doesn't require root access and provides a wide range of app management options.
By downloading the program you accept the terms of the License agreement
Read more
18,391 18391 user reviews
Excellent!

AdGuard for iOS

The best iOS ad blocker for iPhone and iPad. AdGuard eliminates all kinds of ads in Safari, protects your privacy, and speeds up page loading. AdGuard for iOS ad-blocking technology ensures the highest quality filtering and allows you to use multiple filters at the same time
By downloading the program you accept the terms of the License agreement
Read more
18,391 18391 user reviews
Excellent!

AdGuard VPN

74 locations worldwide

Access to any content

Strong encryption

No-logging policy

Fastest connection

24/7 support

Try for free
By downloading the program you accept the terms of the License agreement
Read more
18,391 18391 user reviews
Excellent!

AdGuard Content Blocker

AdGuard Content Blocker will eliminate all kinds of ads in mobile browsers that support content blocker technology — namely, Samsung Internet and Yandex.Browser. While being more limited than AdGuard for Android, it is free, easy to install and still provides high ad blocking quality.
By downloading the program you accept the terms of the License agreement
Read more
18,391 18391 user reviews
Excellent!

AdGuard Browser Extension

AdGuard is the fastest and most lightweight ad blocking extension that effectively blocks all types of ads on all web pages! Choose AdGuard for the browser you use and get ad-free, fast and safe browsing.
18,391 18391 user reviews
Excellent!

AdGuard Assistant

A companion browser extension for AdGuard desktop apps. It offers an in-browser access to such features as custom element blocking, allowlisting a website or sending a report.
18,391 18391 user reviews
Excellent!

AdGuard DNS

AdGuard DNS is a foolproof way to block Internet ads that does not require installing any applications. It is easy to use, absolutely free, easily set up on any device, and provides you with minimal necessary functions to block ads, counters, malicious websites, and adult content.
18,391 18391 user reviews
Excellent!

AdGuard Home

AdGuard Home is a network-wide software for blocking ads & tracking. After you set it up, it’ll cover ALL your home devices, and you don’t need any client-side software for that. With the rise of Internet-Of-Things and connected devices, it becomes more and more important to be able to control your whole network.
18,391 18391 user reviews
Excellent!

AdGuard Pro for iOS

AdGuard Pro has much to offer on top of the excellent iOS ad blocking in Safari already known to the users of the regular version. By providing access to custom DNS settings, the app allows you to block ads, protect your kids from adult content online, and safeguard your personal data from theft.
By downloading the program you accept the terms of the License agreement
Read more
18,391 18391 user reviews
Excellent!

AdGuard for Safari

Ad blocking extensions for Safari are having hard time since Apple started to force everyone to use the new SDK. AdGuard extension is supposed to bring back the high quality ad blocking back to Safari.
18,391 18391 user reviews
Excellent!

AdGuard Temp Mail

A free temporary email address generator that keeps you anonymous and protects your privacy. No spam in your main inbox!
18,391 18391 user reviews
Excellent!

AdGuard for Android TV

AdGuard for Android TV is the only app that blocks ads, guards your privacy, and acts as a firewall for your Smart TV. Get warnings about web threats, use secure DNS, and benefit from encrypted traffic. Relax and dive into your favorite shows with top-notch security and zero ads!
Downloading AdGuard To install AdGuard, click the file indicated by the arrow Select "Open" and click "OK", then wait for the file to be downloaded. In the opened window, drag the AdGuard icon to the "Applications" folder. Thank you for choosing AdGuard! Select "Open" and click "OK", then wait for the file to be downloaded. In the opened window, click "Install". Thank you for choosing AdGuard!
Install AdGuard on your mobile device