TechTok #9. How do browser extensions work, and what is a firewall?

When we launched the TechTok series last December, we had imagined it as a way to directly answer the questions that you, our readers, may have about technologies surrounding ad blocking and privacy protection. Simple formula — you ask, we answer. And it’s been like that for eight issues, thanks to your questions that you all have been sending through our special online form. However, today we’re taking a small sidestep.

Both of today’s questions come from AdGuard’s CTO and Co-Founder Andrey Meshkov, who’s noticed that some common tech terms get thrown around a lot but are rarely explained clearly. So, let's keep it simple and get to the first one:

How do browser extensions work?

First, let’s define what browser extensions are. To put it very simply, they are mini-programs that run within your browser and modify your web experience in one way or another. Those small icons next to the address bar? That’s browser extensions. They can do all sorts of things — from small tweaks to major upgrades. Some just change how links open or copy text automatically, while others go much further — blocking ads and trackers, working as VPNs, or even using AI to help you write or summarize content. Normally you don’t need to know much more than how to add them to your browser. But how do all these extensions actually work? Let’s get to the bottom of this.

The main thing about browser extensions is in their very name. Unlike standalone software, they can’t work without their browser. At the core of the browser-extension interaction lie APIs (Application Programming Interfaces) — collections of methods and properties provided by browsers that allow extensions limited, permission-based access to some of the browser’s features and data. For example, if an API allows to create new tabs or close the existing ones, an extension can do it by accessing that API, provided the extension has the necessary permissions. The more features and data the extension wants to access, the more permissions it requires, so pay close attention to permission requests when installing a new toy into your browser. But more on that later.

Generally speaking, each browser developer creates their own APIs suited specifically for that browser. This is why it is not uncommon to find an extension for, say, Chrome, that won’t work on Safari, or vice versa. This isn’t ideal, of course, so there has been an effort to standardize and unify these APIs under a common framework, one of the examples is the WebExtensions API. Thanks to it, most major browsers like Chrome, Firefox, and Safari offer largely compatible extension APIs. It allows developers to create extensions that work across multiple browsers with potentially very few changes. This isn’t a given, however. In many cases making your extension work smoothly across different browsers requires a lot of work, and not every developer has resources and desire to walk that extra mile.

Circling back to the matters of security, let’s talk about the confinements that browsers impose on extensions. Browser extensions work in so-called sandboxes — enclosed environments that allow each extension to only access browser APIs and limit its interaction with the operating system and other applications. Every extension has a manifest where it declares the permissions it needs to perform its functions (for example, permissions to modify the page’s contents or to initiate and cancel downloads). The browser then enforces these permissions and won’t allow the extension to do anything that goes beyond their scope. This way, even if the extension is compromised, it won’t have the means to inflict damage to processes and files outside its reach, at least in theory.

You often hear warnings against installing browser extensions from outside the official stores. That’s because these stores add an additional layer of defense. Whenever a developer submits their extension to the store, they undergo a review process. During this process, they need to explain why their extension needs all the permissions it asks for. If upon inspecting the code the reviewer decides that the requested permissions are excessive for the functionality that the extension offers, it may be rejected from the store. The review process is not error-proof, though. There are plenty of examples when extensions admitted into popular stores, like Chrome Store, have gone rogue and stolen users’ data, or worse. This is why it is very important to always review the extension’s permissions before installing it.

Finally, when talking about extensions and security, it is impossible not to mention Chrome's transition to the new version of its extension platform, Manifest V3. We have written plenty about it, and even gave various talks on this at the Ad-Filtering Dev Summit,since its effect on browser extensions is severe, and on ad-blocking extensions is doubly so. It gave our devs a lot of headache, but credit where credit is due: it should improve the security in regard to Chrome browser extensions. It removes the ability for extensions to execute remotely hosted or arbitrary code, so all code will have to be reviewed. And this should if not eliminate, then significantly reduce the security risks.

Now to the next question...

What is a firewall?

This is one of those questions that, if we wanted to cover every angle, could easily take up ten pages. But instead of going down that rabbit hole, let’s zoom in on the key stuff. First, let’s tackle the most obvious question: why is it even called a firewall?

The word firewall wasn’t originally a tech term at all — it came way before the Internet. In its original meaning, a firewall was literally a wall that protected against fire. You’d find it inside buildings, where it was designed to stop flames from spreading from one part of the structure to another. Unlike regular walls, it was thicker, made purely of foundation materials, and usually didn’t have windows or anything else that could let fire pass through.

Firewall

In the world of computer networks, firewalls first appeared in the late 1980s. Much like their physical namesake, they were designed to stop the spread of something, in this case, unwanted or potentially harmful network traffic.

The first generation of firewalls were known as packet filters. These operated at the network layer, inspecting traffic by analyzing individual packets — the small chunks data is broken into when it travels across the Internet. Packet filters made decisions based on things like the source and destination IP addresses, port numbers, and transport protocols. At their core, these firewalls relied on a predefined set of rules that would allow or block traffic based on those properties.

Then, in the early 1990s, came the second generation of firewalls. Unlike the first gen, these were more complex firewalls known as “stateful firewalls”. They didn’t just look at one packet in isolation — instead, they could keep track of traffic over time. This meant they could remember the “state” of a connection, like whether a packet was part of an existing, approved session or just a random incoming request.

Firewalls kept evolving as the Internet kept evolving. The rise of web applications led to the development of application-layer firewalls, which operate at the application layer, hence the name. These firewalls are capable of understanding and filtering traffic based on specific protocols that support applications or services, like HTTP (used by web browsers to load websites) or DNS (used to resolve domain names into IP addresses), rather than just IP addresses and ports. Then, around 2008, firewalls started to include deep packet inspection (DPI) — a technique that allows them to analyze the actual contents of the data packets, not just their headers.

💡
No matter how they work or what layer they operate on, firewalls basically act as a barrier between two networks — like your home network and the wider Internet, or different segments of a company’s internal network — to control what gets through and what doesn’t.

When it comes to how a firewall is implemented, there are different forms. It can be a hardware firewall, where a physical device is placed at a network boundary to filter traffic (like a home router). It can be a software firewall — think of an app running on your device that filters traffic to and from that device (Windows Defender Firewall and the like). Or it can even be virtual or cloud-based, running remotely and protecting networks or devices without being tied to a specific piece of hardware.

Now, let’s answer a question that you might be curious about. Is AdGuard ad blocker a firewall? The short answer will be no, at least not in the traditional sense of the word. But our apps do have firewall features. Specifically, AdGuard for Android has a Firewall module that allows users to manage internet access for apps on their device. This module enables users to control which apps can access the internet, blocking or allowing access as needed.

This feature becomes especially useful when apps behave suspiciously — like sending data even when you're not using them. With AdGuard for Android’s firewall module, you can block internet access for specific apps, disable background traffic when your screen is off, or even cut off mobile data while roaming. It gives you full control over how and when your apps connect online without needing to root your phone or dig through complex system settings.

While firewalls can be helpful tools that you can use to protect your home network or your privacy and security on-device, more often than not the word ‘firewall’ is now associated with censorship. This is in large part due to the notoriety that the Great Firewall of China has gained over the years. And we cannot wrap this up without at least saying at least a few words about it.
The GFC is a massive, state-run censorship system aimed at restricting access to foreign internet content from within China — including services like Google, Facebook, Twitter, and YouTube. It uses a mix of techniques like DNS spoofing, keyword-based URL filtering, deep packet inspection (DPI) and even packet forging to block or disrupt traffic. There are more GFC-like state-controlled systems in the world that primarily function as censorship tools at the guise of security, but that’s a topic worthy of its own article.

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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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.367 20367 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