How ad blocking is done: a look inside filter developing and why Manifest v3 is a threat

How do ad blockers work? At the very core of any ad blocker lie filter lists (also called 'filters') — literally lists of rules written in a special syntax. If we were to compress ad blockers' job into a few words, we'd say "ad blockers interpret filtering rules". They understand this complex syntax and perform actions with web traffic based on what these rules tell them to do: block specific elements, change web pages in certain ways, etc.

There is a rich variety of filter lists. Thousands of volunteers continuously work on keeping them up-to-date, making sure they block ads and don't break anything important.

You may have heard of the upcoming changes in Chrome browser, also known as Manifest v3. And these changes threaten to end the filters ecosystem as we know it. This article is aimed at Google Chrome developers: we want to believe that they don't have a goal of hurting this ecosystem, but rather simply lack a proper understanding of it. That's why we find it absolutely necessary to describe in detail how it functions and what's wrong with the current implementation of Manifest v3.

And perhaps some of our readers would like to know how it all works, too.

How ad blockers work

As it's been mentioned before, ad blockers are 'translators' that interpret filtering rules. First, an ad blocker download filter lists. It can be any filter lists, downloaded from multiple different places, it doesn't really matter. What matters is that now the ad blocker will start checking web pages' code against all these filtering rules.

This is how ad blocking works

Let's dive a tiny little bit into technicalities, since there are probably some people who'd like to know how things work on a deeper level. There are several different ways:

Network filtering

Ads on web pages don't appear magically out of thin air. They have to be fetched somehow, i.e. downloaded from a server. To do so, browser needs to send a web request. Filtering rules tell ad blockers which requests are trying to fetch an ad and not useful content and should be blocked.

Cosmetic filtering

Every web page has a DOM ("document object model"), basically an HTML document that contains the page's structure and all its elements. Of course, ads on the page are also elements and are reflected in the DOM. Ad blockers can remove parts of the DOM, and filtering rules help them understand which parts are ads and should be removed, and which shouldn't be messed with.

Of course, in reality it's much more complicated than that, but you can see the general picture. If you'd like to know more about the technical side, check out our ad blocking syntax guide.

Filter lists

There are hundreds, if not thousands of filter lists: AdGuard Filters, EasyList, etc. It takes daily work of thousands of volunteers and professionals to keep these filters updated, so that they are always relevant and don't mess up anything.

Filters can do more than just block ads, and different people choose different combinations of filters to match their personal preferences. Here are some examples of popular filter lists that illustrate just how diverse they can be:

  • EasyList — a base filter for many users, oriented solely to block ads,
  • EasyPrivacy — another popular choice, serves to block online trackers,
  • Fanboy's SocialList — a filter that blocks social widgets, 'Like' buttons etc.,
  • AdGuard Annoyances — AdGuard's filter to block, well, annoyances. I.e. things like cookie notices, online assistants and so on,
  • A plethora of language-specific filter lists: EasyList Germany, RUAdlist, AdGuard Turkish filter, and many, many more.

Feel free to check out this website that has a huge filter lists database.

And here's the problem: the planned Google Chrome changes imply that there will be only one default filter list (so-called 'static' rules). You'd be able to modify it with a set of 'dynamic' rules, but the limit on those is ridiculously small, only 5,000. Many filter lists we mentioned above don't fit this limit alone, imagine if you want to add multiple filter lists.

How filter lists are developed

As we said, filter lists have to be constantly updated. There are two main reasons for that:

  1. To block new ads and
  2. To fix what's broken (with the amount of rules in filter lists something's bound to break at some point).

Of course, filter lists' maintainers can't monitor millions of websites themselves. They rely heavily on user feedback. To put it in perspective:

  • AdGuard Filters repository has over 40,000 closed tasks at the moment. Every week about 500 new tasks appear and approximately the same amount gets resolved.
  • EasyList and its regional filters subscriptions mostly get their feedback from the forum and it has tens of thousands of threads.

Many ad blockers have tools to help users easily report any filter-related issues they face. For example, AdGuard users have access to a special web reporting tool. Based on such complaints, filter developers correct their filter lists. Ad blockers update the filters, and — boom! — the ad is gone.

Filters are constantly being updated

This gets us to another problem: dynamic rules in Chrome are going to have a different priority compared to static ones. It only brings more chaos and makes filter lists maintainers' work so much harder.

Where do people get new filter lists?

One of the cornerstones of today's ad blocking is the users' ability to add any custom filter lists by URL (as opposed to choosing from the default list, however large it can be). This is vital for health of the filter lists ecosystem.

  • Users have an option to try new filter lists,
  • Developers can directly share their creations with users, without any third-parties.

Another face of the same problem is that under the existing dynamic rules limitation it would be impossible for all of this to happen. This would lead to slow but sure decline of the filter development community.

What awaits us in the future?

If nothing is done and all changes planned for Chrome become reality, the future will be grim for all of us:

  1. The filters ecosystem is going to receive a very painful blow.
  2. Instead of the familiar filter variety and a large, active community there will be only a handful ad blocker developers left, who'll maintain a few filter lists to the best of their ability.
  3. From users' perspective, instead of flexible approach and the ability to customize ad blocking to their preference they'll get "unified" filter lists that do more or less the same.
  4. The community will shift towards other ad blocking methods and focus its efforts on those.

At the time, we have spoken a lot of harsh words about Safari content blocking, and rightfully so. At least, thanks to countless tricks and 'duct taping' we managed to arrive at a satisfactory solution. With Google Chrome's case, there's honestly no light at the end of the tunnel.

Are there any solution?

Yes, in fact, all these problems can be addressed and solved, and even without deviating too much from the general direction Google wants to take with Chrome. What we think should be done for that:

  • A term 'Filter list' should be introduced for both static and dynamic rules,
  • The limit for dynamic rules should be drastically increased,
  • Filter rules priorities should be rethought. Dynamic rules should have the same priority as static rules.

From the developers' point of view, it would be much simpler to have only dynamic rules. To developer community dividing rules into static and dynamic categories seems not necessary and even chaos-inducing. At the same time, we are ready to have a dialogue with Google Chrome devs and find a compromise that will satisfy everyone, and most importantly — Chrome users.

PS:
If you feel like you have what it takes to become a filter maintainer, we always welcome any help! Check out this page to learn how you can help us improve AdGuard Filters and what you'll get in return for your efforts.

Vam je bila objava všeč?
AdGuard VPN AdGuard DNS AdGuard Mail AdGuard Wallet
AdGuard VPN AdGuard DNS AdGuard Mail AdGuard Wallet
Glavni zaslon AdGuard za Windows
Zaslon zaščite AdGuard za Windows, ki prikazuje funkcije zaščite in nastavitve
Zaslon statistike AdGuard za Windows, ki prikazuje statistiko blokiranih oglasov in sledilcev
Zaslon Upravljanje aplikacij AdGuard za Windows, ki prikazuje možnosti upravljanja zaščite za aplikacije, nameščene v napravi
20.368 20368 ocen uporabnikov
Odlično!

AdGuard: blokator oglasov za Windows

AdGuard za Windows je več kot blokator oglasov. Je večnamensko orodje, ki blokira oglase, nadzoruje dostop do nevarnih spletnih mest, pospeši nalaganje strani in ščiti otroke pred neprimerno vsebino
S prenosom programa sprejemate pogoje Licenčne pogodbe
Microsoft Trgovina
S prenosom programa sprejemate pogoje Licenčne pogodbe
AdGuard za Windows v8.0, 14-dnevno preizkusno obdobje
Glavni zaslon AdGuard za Mac
Zaslon Prikritega načina AdGuard for Mac
20.368 20368 ocen uporabnikov
Odlično!

AdGuard: blokator oglasov za Mac

AdGuard za Mac je edinstven blokator oglasov, zasnovan z mislijo na macOS. Poleg zaščite pred nadležnimi oglasi v brskalnikih in aplikacijah vas ščiti pred sledenjem, lažnim predstavljanjem in goljufijami
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
AdGuard za macOS v2.19, 14-dnevno preizkusno obdobje
Glavni zaslon AdGuard za Android
Zaslon Zaščita pred sledenjem AdGuard za Android
Zaslon Upravljanje aplikacij AdGuard za Android, ki prikazuje možnosti upravljanja zaščite za aplikacije, nameščene v napravi
Zaslon statistike AdGuard za Android, ki prikazuje statistiko blokiranih oglasov in sledilcev
Glavni zaslon zasebnega brskalnika AdGuard za Android
QR koda za prenos AdGuard za Android
20.368 20368 ocen uporabnikov
Odlično!

AdGuard: blokator oglasov za Android

Blokira oglase in sledilnike v vseh brskalnikih, igrah in drugih aplikacijah. Ščiti vašo zasebnost in vam omogoča nadzor nad tem, kako vaše aplikacije uporabljajo internet. Nameščeno prek APK-ja
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
Preglejte za prenos
Uporabite kateri koli razpoložljivi bralnik QR kod v vaši napravi
AdGuard za Android v4.14, 14-dnevno preizkusno obdobje
Glavni zaslon AdGuard za iOS
Zaslon zaščite AdGuard za iOS, ki prikazuje funkcije zaščite in nastavitve
Zaslon statistike AdGuard za iOS, ki prikazuje statistiko blokiranih oglasov in sledilcev
QR koda za prenos AdGuard za iOS
20.368 20368 ocen uporabnikov
Odlično!

AdGuard: blokator oglasov za iOS

Najboljši blokator oglasov za iOS za iPhone in iPad. AdGuard odstrani vse vrste oglasov in sledilnikov v Safariju ter ščiti vašo zasebnost v vseh aplikacijah na ravni DNS
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
Preglejte za prenos
Uporabite kateri koli razpoložljivi bralnik QR kod v vaši napravi
AdGuard za iOS v4.5
Glavni zaslon AdGuard Content Blocker
Zaslon filtri AdGuard Content Blocker
Zaslon nastavitve AdGuard Content Blocker
20.368 20368 ocen uporabnikov
Odlično!

AdGuard Zaviralec vsebine

AdGuard Content Blocker odpravlja vse vrste oglasov v mobilnih brskalnikih, ki podpirajo tehnologijo blokiranja vsebine — in sicer Samsung Internet in Yandex Browser. Njegove funkcije so omejene v primerjavi z AdGuardom za Android, vendar je brezplačen, enostaven za namestitev in učinkovit
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
AdGuard Zaviralec vsebine v2.8
Glavni zaslon razširitev brskalnika AdGuard
Zaslon Zaščita pred sledenjem razširitve brskalnika AdGuard
20.368 20368 ocen uporabnikov
Odlično!

AdGuard Razširitev brskalnika

AdGuard je najhitrejša in najlažja razširitev za zaviranje oglasov, ki učinkovito onemogoča vse vrste oglasov na vseh spletnih straneh! Za brskalnik, ki ga uporabljate, izberite AdGuard in hitro ter varno brskajte brez oglasov.
Namesti
S prenosom programa sprejemate pogoje Licenčne pogodbe
Namesti
S prenosom programa sprejemate pogoje Licenčne pogodbe
Namesti
S prenosom programa sprejemate pogoje Licenčne pogodbe
Namesti
S prenosom programa sprejemate pogoje Licenčne pogodbe
Namesti
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
Namesti
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
AdGuard Razširitev brskalnika v5.5
Glavni zaslon Pomočnik brskalnika
20.368 20368 ocen uporabnikov
Odlično!

AdGuard Pomočnik

Sopodajalna razširitev za brskalnik za AdGuard namizne aplikacije. Dovoli vam, da blokirate po meri nastavljene elemente na spletnih straneh, dodajate spletne strani na seznam dovoljenih in pošiljate poročila neposredno iz vašega brskalnika
AdGuard Pomočnik v1.4
20.368 20368 ocen uporabnikov
Odlično!

AdGuard Home

AdGuard Home je omrežna rešitev za blokiranje oglasov in sledilcev. Namestite ga enkrat na usmerjevalnik, da pokrijete vse naprave v domačem omrežju — dodatna programska oprema odjemalca ni potrebna. To je še posebej pomembno za različne naprave IoT, ki pogosto ogrožajo vašo zasebnost
AdGuard Home v0.107
Glavni zaslon AdGuard Pro za iOS
Zaslon zaščite AdGuard Pro za iOS, ki prikazuje funkcije zaščite in nastavitve
Zaslon statistike AdGuard Pro za iOS, ki prikazuje statistiko za blokirane oglase in sledilce
20.368 20368 ocen uporabnikov
Odlično!

AdGuard Pro za iOS

AdGuard Pro za iOS vključuje vse napredne funkcije zaščite pred oglasi z omogočeno blokado. Ponuja ista orodja kot plačljiva različica AdGuard za iOS. Odličen je pri blokiranju oglasov v Safari in omogoča prilagajanje DNS nastavitev za prilagojeno zaščito. Oglase blokira v brskalnikih in aplikacijah, vaše otroke ščiti pred neprimerno vsebino ter ohranja vaše osebne podatke varne.
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
AdGuard Pro za iOS v4.5
Glavni zaslon AdGuard Mini za Mac
Zaslon zaščite Safari v AdGuard Mini za Mac
Zaslon ustvarjanja pravila AdGuard Mini za Mac
20.368 20368 ocen uporabnikov
Odlično!

AdGuard Mini za Mac — zaviralec oglasov Safari

AdGuard Mini za Mac je zmogljiv Safari blokator oglasov. Ta lahka aplikacija odstranjuje oglase, blokira sledilce in pospešuje nalaganje strani. Pomaga vam brskati po spletu v Safariju brez motenj in varuje vaše podatke
Namesti
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
AdGuard Mini za Mac v2.3
Glavni zaslon AdGuard za Android TV z omogočeno zaščito
Zaslon blokiranja oglasov AdGuard za Android TV, ki prikazuje njegove funkcije in nastavitve
Zaslon nastavitev AdGuard za Android TV
Zaslon Upravljanje aplikacij AdGuard za Android TV, ki prikazuje aplikacije, kjer so oglasi in sledilci blokirani
20.368 20368 ocen uporabnikov
Odlično!

AdGuard za Android TV

AdGuard za Android TV je edina aplikacija, ki zavira oglase, varuje vašo zasebnost in deluje kot požarni zid za vaš Smart TV. Prejmite opozorila o spletnih grožnjah, uporabite varen DNS in izkoristite šifriran promet. Sprostite se in se potopite v svoje najljubše oddaje z vrhunsko varnostjo in brez oglasov!
AdGuard za Android TV v4.14, 14-dnevno preizkusno obdobje
Maskota AdGuard, Agnar, ki drži Linux pingvina
20.368 20368 ocen uporabnikov
Odlično!

AdGuard za Linux

AdGuard za Linux je prvi sistemski zaviralec oglasov za Linux na svetu. Onemogočite oglase in sledilce na ravni naprave, izberite med vnaprej nameščenimi filtri ali dodajte svoje — vse preko ukazne lupine vmesnika
AdGuard za Linux v1.4
20.368 20368 ocen uporabnikov
Odlično!

AdGuard Temp Mail

Brezplačen ustvarjalec začasnih elektronskih naslovov, ki vas ohranja anonimne in ščiti vašo zasebnost. Brez neželene pošte v vašem glavnem predalu!
20.368 20368 ocen uporabnikov
Odlično!

AdGuard VPN

75 lokacij svetovnega spleta

Dostop do katere koli vsebine

Močno šifriranje

Politika 'Brez dnevnikov'

Najhitrejša povezava

stalna podpora

Poskusite brezplačno
S prenosom programa sprejemate pogoje Licenčne pogodbe
Več o tem
20.368 20368 ocen uporabnikov
Odlično!

AdGuard DNS

AdGuard DNS je brezhiben način zaviranja internetnih oglasov, ki ne zahteva nameščanja nobenih aplikacij. Je preprost za uporabo, popolnoma brezplačen, enostavno nastavljiv na kateri koli napravi in vam zagotavlja minimalne potrebne funkcije za zaviranje oglasov, števcev, zlonamernih spletnih strani in vsebine za odrasle.
20.368 20368 ocen uporabnikov
Odlično!

AdGuard Mail

Ščitite svoj identitet, izogibajte se neželeni pošti in ohranite svoj nabiralnik varno z našimi vzdevki in začasnimi e-poštnimi naslovi. Uživajte v naši brezplačni storitvi posredovanja e-pošte in aplikacijah za vse operacijske sisteme
20.368 20368 ocen uporabnikov
Odlično!

AdGuard Wallet

Varna in zasebna kripto denarnica, ki vam omogoča popoln nadzor nad vašimi sredstvi. Upravljaj več denarnic in odkrij tisoče kriptovalut za shranjevanje, pošiljanje in zamenjavo
Prenos AdGuarda Za namestitev AdGuarda kliknite gumb, označen s puščico Izberite 'Odpri' in kliknite na 'Vredu', nato pa počakajte, da se datoteka prenese. V odprtem oknu povlecite ikono AdGuarda in jo spustite v mapo 'Aplikacije'. Hvala, ker ste izbrali AdGuard! Izberite 'Odpri' in kliknite na 'Vredu', nato pa počakajte, da se datoteka prenese. V odprtem oknu kliknite na 'Namesti'. Hvala, ker ste izbrali AdGuard!
Namestite AdGuard na svojo mobilno napravo