Ad Blocking Strategies

Discussions center on techniques for blocking web advertisements via browser extensions, JavaScript restrictions, and content filters, along with countermeasures by sites and advertisers to detect and evade blockers.

📉 Falling 0.4x Web Development
5,210
Comments
20
Years Active
5
Top Authors
#618
Topic ID

Activity Over Time

2007
6
2008
19
2009
36
2010
78
2011
78
2012
88
2013
145
2014
175
2015
572
2016
623
2017
511
2018
339
2019
583
2020
318
2021
382
2022
297
2023
444
2024
249
2025
251
2026
16

Keywords

OP JS JavaScript AdBlockers SSL OS HTML IP adblockplus.org jonathandub.in ads ad blocking blockers ad blockers block ad blocking site advertiser proxy

Sample Comments

IloveHN84 Jun 27, 2019 View on HN

Why don't you block all the JavaScript not coming from your origin and just display a simple link+PNG as advertising?

nukeop Jan 12, 2018 View on HN

This can be blocked by any regular content blocker, no need for a specialized extension. Also, by discriminating against alternatives to advertising you are helping the advertising industry.

sempron64 Jun 19, 2018 View on HN

Just blocking JS does not work against ads. Ads track you using cookies which can be set upon the loading of any web resource including images.

duskwuff Oct 6, 2017 View on HN

They aren't blocking "ads". They are blocking a specific undesirable browser behavior that is being exploited by some ad networks. This is conceptually no different from blocking pop-ups.

jrockway Dec 13, 2010 View on HN

They already block invalid SSL certificates and phishing/malware sites. Why not ads, too?

SoftwareMaven Jul 15, 2011 View on HN

Ad blockers can block those, too. It's not just blocking calls to the Google ad engine; it's monitoring pages for (user defined and shared) ad divs.

mtmail Sep 6, 2019 View on HN

That's basically the premise of https://adblockplus.org/ with their https://adblockplus.org/en/acceptable-ads isn't it?

8192kjshad09- Jan 23, 2022 View on HN

Preventing ISPs and other bad actors from using it to deliver ads/malware?

RUG3Y Nov 2, 2015 View on HN

Right. We need a blocker that loads the ads and "sandboxes" them from the user.

elorant Jul 14, 2018 View on HN

Not with current technology because all ad blocking does is blocking hosts. So a site can tell if parts of the code have loaded/executed or not. In order to go completely stealth you'd have to let the page load everything and then just don't show it. But that's way more complicated and besides a bit pointless because part of the reason for ad blocking is to make sites load faster by removing all that bloatware. That, or we move ad blocking out of the browser and into the OS w