Blog / Operating systems & apps /

Ad blockers: how they work and the trade-offs

Open a news site without an ad blocker and you may find a banner on top, a video that follows you down the page, a popup asking you to subscribe, and a pile of scripts quietly measuring everything you do. Install a blocker and it all goes quiet.

That is the appeal. But an ad blocker isn’t a free lunch. It changes how websites load, how they earn money, and sometimes whether they work at all. Whether you’re a reader or a site owner, it helps to know what these tools actually do.

What an ad blocker does, in plain words

An ad blocker is a filter between your browser and the web. When a page loads, it asks the server for lots of things: text, images, fonts, scripts. Some of those requests go to advertising and tracking companies. The blocker looks at each request and decides: let it through, or stop it.

Think of a postal worker who sorts your mail and throws away anything addressed from a list of known junk senders. You never see the leaflets, and the senders never know whether you saw them.

How they decide what to block

Most blockers combine a few techniques.

Filter lists

The core of nearly every blocker is a list of rules, maintained by communities and companies. A rule might say “block anything loaded from this advertising domain” or “hide any element on any page with this class name”. These lists are updated often, because advertisers change their addresses to avoid being caught. This is why a blocker “stops working” on a site after a while: the list needs catching up.

Network blocking

The blocker intercepts the request before the browser fetches the file. The ad never downloads, which saves data and speeds up pages.

Cosmetic filtering

Some elements load from the same address as the main content, so blocking the request would break the page. The blocker lets it load, then hides the element with a style rule. You don’t see it, though it may still have loaded.

Script and tracker blocking

Many blockers also stop trackers that follow you across sites, such as analytics, social media widgets and fingerprinting scripts. Browser makers have added some of this themselves, so even without an extension you may have some protection.

DNS-level blocking

Instead of working inside the browser, some tools work on the whole network, or the whole phone, by refusing to look up the addresses of known ad servers. That covers apps as well as websites. It’s blunt, but effective. Some home routers and private DNS services offer this.

Built-in browser blocking

Some browsers include blocking features by default, and others rely on extensions. The detail depends on the browser, and it’s changed over the years.

The benefits

  • Fewer annoying and intrusive ads. Autoplay videos, overlays, and pop-ups.
  • Faster pages and less data used. Fewer requests means less to download, which matters on a slow or expensive connection, an issue familiar from data costs in Nigeria.
  • Privacy. Fewer trackers building a profile of your browsing.
  • Safety. Advertising networks have been used to deliver malware (“malvertising”). Blocking ads reduces that risk, though it doesn’t remove every threat.
  • Focus. Pages that are readable without being hijacked.

The trade-offs

1. Broken sites

Sometimes the block list catches something the page needs: a login script, a payment form, an embedded video. A page might look strange or stop working. Most blockers let you turn them off for a single site with one click. If something looks wrong, try that first.

2. Publishers lose income

Many websites rely on advertising to pay writers and servers. When readers block ads, that income disappears. Some sites respond by asking you to turn off the blocker, limiting content, or moving to subscriptions. It’s fair to say that blocking ads from a small site you value is costing them directly. Many blockers let you allow specific sites, and you can support the ones you like in other ways, such as subscribing or sharing.

3. It isn’t a security tool on its own

An ad blocker lowers some risks, but it won’t stop phishing emails, fake download buttons or weak passwords. Don’t let it make you careless.

4. The extension is powerful

To block requests, an extension needs broad permission to see and change the pages you visit. That’s necessary for the job, but it means you must trust the developer. Stick to well-known blockers from official stores, check reviews and the developer’s reputation, and be wary of copies with similar names. Extension permissions: asking for as little as possible explains what to look for from the builder’s side.

5. Arms races and “acceptable ads”

Some blockers allow certain “acceptable” ads by default, funded by the advertisers themselves. Others block everything. Publishers, in turn, try to detect blockers and sometimes work around them. The competition never ends.

6. Browser rules are changing

Chrome moved its extension platform to Manifest V3, which changes how extensions can block requests. Some blocker developers say it limits what they can do, while Google says the change improves security and performance. If you use Chrome, it’s worth knowing what’s different. I covered it in Manifest V3 and ad blockers in Chrome. Other browsers have taken different approaches.

How to choose and set one up

  1. Choose a reputable blocker with an open track record and a clear privacy policy. Avoid “free” tools that you’ve never heard of.
  2. Install from the official store for your browser.
  3. Start with the default lists. Adding too many lists slows pages and breaks more sites.
  4. Learn the pause button. You’ll need it for the occasional broken page.
  5. Whitelist sites you want to support. Small publishers and creators you value are the obvious ones.
  6. Don’t forget your phone. Mobile browsers vary widely in what they allow. On some phones, a DNS-based blocker or a browser with built-in blocking is the practical route.
  7. Keep it updated. Lists and the extension both need updates.

If you run a website

Ad blockers affect you in more than one way.

  • Analytics. Blockers may stop analytics scripts from loading, so your visitor numbers can be lower than reality. Don’t be surprised by gaps between your numbers and your server logs.
  • Layout. If your design depends on an ad slot, a blocker can leave an empty hole or move content around. Test your site with a blocker on.
  • Forms and embeds. Chat widgets, cookie banners and booking tools can be blocked by mistake, which means a visitor may never see them. If someone says “your form doesn’t work”, ask whether they use a blocker.
  • Your own approach. If you show ads, consider how heavy and intrusive they are. Pages that respect readers lose fewer of them. If you don’t show ads, remember that some blockers still block your third-party widgets.
  • Don’t punish the visitor. Asking politely beats locking content. Many readers will whitelist a site that treats them well.

Key takeaways

  • Ad blockers filter requests and hide page elements using rule lists.
  • They improve speed, privacy and comfort, and can reduce malvertising risk.
  • The costs are broken pages, lost publisher income and a powerful extension to trust.
  • Site owners should test with a blocker on, and expect analytics gaps.

Do you block everything, allow some sites, or none? Think about which sites you’d miss if they disappeared, and let those through.