TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Detecting adblock, without JavaScript, by abusing HTTP 103 responses

108 pointsby mechazawaabout 1 year ago

25 comments

wrigglingwormabout 1 year ago
I wouldn't even mind ads if most sites weren't malicious with how they serve them. Do not make a new window pop up, do not try to download anything to my computer without my explicit instruction, do not make me click an x to view the content, do not interrupt the content to serve an ad. Why can't they just have a nice little ad on the left and/or right side of the page that doesn't interrupt my intake of their content? Heck, even on the top is fine.
评论 #39819820 未加载
评论 #39821444 未加载
评论 #39820274 未加载
评论 #39839634 未加载
hedoraabout 1 year ago
Sounds like it might make sense to drop this early hints feature (whatever it is).<p>I wonder how much longer it will be before the next major escalation happens with ad blockers. I can imagine mainstream browsers that fetch unmodified pages and click ads in the background (do subvert pay per click ad business models and make it harder to compute targeting metrics), but then display an ad&#x2F;tracking-free version in a separate rendering pipeline.
评论 #39817181 未加载
评论 #39817218 未加载
评论 #39818164 未加载
评论 #39818170 未加载
评论 #39826245 未加载
评论 #39817807 未加载
socoabout 1 year ago
We&#x27;re all complaining and blaming the big corporations for the pitiful state the internet got to be now but seems we are all contributing our little to bring it even lower. Because corporations pay, I know, but we are the ones pulling the trigger.
评论 #39817385 未加载
评论 #39817769 未加载
评论 #39817708 未加载
jedbergabout 1 year ago
My first question was &quot;Why would someone do this and release it?&quot; but it looks like they answered that question at the end of the README. :(
评论 #39822216 未加载
josephcsibleabout 1 year ago
Is this already being exploited by any sites in the wild? If not, then I kind of wish that it would have been privately reported to Mozilla and the major ad blocker developers to give them time to patch it.
评论 #39819888 未加载
zzo38computerabout 1 year ago
Mozilla says the following about HTTP 103 Early Hints:<p>&gt; Note: For compatibility reasons it is recommended to only send HTTP 103 Early Hints responses over HTTP&#x2F;2 or later, unless the client is known to handle informational responses correctly.<p>&gt; Most browsers limit support to HTTP&#x2F;2 or later for this reason.
guitarlimeoabout 1 year ago
This makes sense, but I guess adblockers could just start loading the data and not show it to the user?
评论 #39817716 未加载
评论 #39817313 未加载
评论 #39817761 未加载
评论 #39817189 未加载
评论 #39817712 未加载
thenewnewguyabout 1 year ago
Probably too unreliable to use in real life - for example, I suspect many crappy corporate proxies will block HTTP 103 responses as some unknown danger.
评论 #39820730 未加载
评论 #39817289 未加载
kevmo314about 1 year ago
TIL about HTTP 103, that&#x27;s pretty neat.<p>It seems pretty easy to mitigate this by always loading the early hints though, as in Firefox should adopt Chrome&#x27;s approach as described in the README.
hn_ackerabout 1 year ago
Haha. The copyright license is a parody of the MIT license [1]:<p>&gt; Copyright (c) 2024 Mechazawa<p>&gt; Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software with specific restrictions, provided that the user intends to use the Software explicitly FOR the purposes of evil or advancing evil, including but not limited to:<p>&gt; Genocide, Wanton Destruction, Fraud, Nuclear&#x2F;Biological&#x2F;Chemical Terrorism, Harassment, Prejudice, Slavery, Disfigurement, Brainwashing, Ponzi Schemes and&#x2F;or the Destruction of Earth itself,<p>&gt; with this, including without limitation the rights to copy, modify, merge, publish, distribute, sublicense, sell and&#x2F;or run copies Software or any executable binaries built from the source code.<p>HN converts single newlines into spaces. The license text on Github [1] has apparently intentionally obstructive newlines within the &quot;paragraphs&quot;.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;Mechazawa&#x2F;103-early-anti-adblock&#x2F;blob&#x2F;master&#x2F;LICENSE.txt">https:&#x2F;&#x2F;github.com&#x2F;Mechazawa&#x2F;103-early-anti-adblock&#x2F;blob&#x2F;mas...</a>
评论 #39825218 未加载
ahmedfromtunisabout 1 year ago
I really wish the pay-with-compute model stuck.<p>Lending webpages some CPU-cycles (probably to mine crypto) in a controlled and safe way would be a win-win(-win) situation.<p>Websites won&#x27;t have to submit to their advertising overlords and still be able to incrementally monetize their content.<p>Users won&#x27;t have to deal with the downgraded experience — while sacrificing compute cycles anyway to download and display the awful ads.<p>Even advertisers would win, as they won&#x27;t have to deal with content farms trying to fake impressions and clicks.
评论 #39820404 未加载
评论 #39821578 未加载
评论 #39819812 未加载
评论 #39820407 未加载
gxonatanoabout 1 year ago
I think what is needed is rather an adblock detector detector, or something which can trick the detectors into thinking there&#x27;s no adblock.
lakomenabout 1 year ago
Just once and for all understand, people who do not want to see ads and you force ads on them, will not come to your site. All you&#x27;re doing is making the user experience worse and decreasing your site&#x27;s worth. And people will remember who was so rude to them.<p>I&#x27;ve been there.<p>Don&#x27;t do it.
评论 #39818096 未加载
评论 #39817792 未加载
esbransonabout 1 year ago
&gt; Chrome does not allow adblockers to interact with resources loaded using early hints, nor does it display resources loaded using early hints in the developer console.<p>I wonder if Brave has these same limitations? Not sure where its Shields JS fits into the architecture.
deadbabeabout 1 year ago
SMS is the next big frontier for ads, every few messages with someone you can see a little ad about something related to your conversations. Or if a conversation has gone stale and someone hasn’t replied in several days, inject an ad to wake it back up.
评论 #39818086 未加载
shmdeabout 1 year ago
If I say whats on my mind after seeing this I will be banned from HN.
_rmabout 1 year ago
My strategy for managing ads is adblock + a mouse with a thumb button configured to CTRL + F4.<p>If adblock doesn&#x27;t catch it, my thumb twitch reflex when a popup appears will.
评论 #39831371 未加载
skrtskrtabout 1 year ago
Anyone know what happened to ethicalads.io? Website has been offline for over a month, but founders&#x2F;engineers seem to be active on LinkedIn &amp; GitHub still
评论 #39820029 未加载
Tabular-Icebergabout 1 year ago
If ad blockers go by URLs, why don’t advertisers simply serve ads from the same domain with a path masquerading as content?
评论 #39823574 未加载
评论 #39819600 未加载
failedartifactabout 1 year ago
Nit: The use of asci diagrams cause formatting problems when viewing on mobile.
darepublicabout 1 year ago
The freedom fighters will find a way to avoid these ads, just you watch
terrycodyabout 1 year ago
Can someone make this into a Wordpress plugin?
cevingabout 1 year ago
It should be illegal to sabotage adblocking.
评论 #39818696 未加载
harrygeezabout 1 year ago
does anyone know to make a diagram using text like that in the README?
unstatusthequoabout 1 year ago
Are people still relying on only browser plugins to de-trash their browsing experience? DNS is your friend. Block the asshats at their media delivery source. DNS Filter, NextDNS, PiHole...