TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A website speed test tool to compare uBlock Origin with plain Chrome

192 点作者 aberforth123超过 5 年前

22 条评论

guessmyname超过 5 年前
YouTube sends more requests with uBlock Origin enabled? [1][2]<p>My theory is, without the ads, there is more space in the webview to load video thumbnails, each item representing a video in the HTML document probably requires a handful of HTTP requests to load and pre-fetch their corresponding metadata. I would not be surprised if other websites react in the same way. I hope this is the case, but I am suspicious enough that I will investigate further how the ad-blocker affects these websites.<p>[1] <a href="https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;www.youtube.com" rel="nofollow">https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;www.youtube.com</a><p>[2] <a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;HBB4TkK.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;HBB4TkK.png</a>
评论 #21056531 未加载
评论 #21056150 未加载
stevekemp超过 5 年前
You need to filter the URLs that are accepted to avoid security problems - had you a contact address on your profile here, or on the site I&#x27;d have disclosed this more privately.<p>But consider this case:<p><a href="https:&#x2F;&#x2F;webtest.app&#x2F;?url=file:&#x2F;&#x2F;&#x2F;etc&#x2F;passwd" rel="nofollow">https:&#x2F;&#x2F;webtest.app&#x2F;?url=file:&#x2F;&#x2F;&#x2F;etc&#x2F;passwd</a><p>In short you should restrict URLs to protocols of `http`, `https`, and even then you should filter based on IP. You don&#x27;t want people to view <a href="http:&#x2F;&#x2F;localhost&#x2F;server-status" rel="nofollow">http:&#x2F;&#x2F;localhost&#x2F;server-status</a>, etc.<p>Finally you need to make sure you avoid recursion:<p><a href="https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;steve.fi&#x2F;" rel="nofollow">https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;st...</a>
评论 #21057099 未加载
评论 #21057210 未加载
nwrk超过 5 年前
Great idea. Kudos for launch. Bookmarked.<p>What striked me is JSHeapTotalSize, never really think the ADs are eating so much RAM &#x2F; resources (make sense). In Guardian case this accounts for 50% more allocation.
thenewnewguy超过 5 年前
Minor typo on the website: &quot;or to proof to others they should use an ad blocker&quot; (should be &quot;as proof&quot; or &quot;to prove&quot;).<p>Also, suggestion: don&#x27;t require typing <a href="http:&#x2F;&#x2F;" rel="nofollow">http:&#x2F;&#x2F;</a> or <a href="https:&#x2F;&#x2F;" rel="nofollow">https:&#x2F;&#x2F;</a>
radicalriddler超过 5 年前
TheGuardian is such a shit site without adblock. During the Australian election, I turned off my adblocker because &quot;they&#x27;re an independent news source&quot; and I wanted to support their advertisers. I got bombarded with a full width banner at the top, and full height banner down both sides for the national Greens party.<p>Now don&#x27;t get me wrong, I don&#x27;t hate the greens party, but god damn, my eyes.
评论 #21065837 未加载
codeisawesome超过 5 年前
I&#x27;m not sure why the code isn&#x27;t open source on this one. If the OP is hoping that news websites (etc.,) will pay for this service, I wouldn&#x27;t hold my breath.<p>This site only highlights all the bad things happening on those sites - and the marketing teams there have most likely already been told by their developers what including 1 million cookies &amp; 50 million tracker APIs will do to the performance. They <i>want</i> this gunk in there so that revenue targets can be met.<p>So the best bet is to put this up on GitHub where folks like me could learn from the code :-D
评论 #21059528 未加载
评论 #21064752 未加载
评论 #21057498 未加载
评论 #21060690 未加载
njitram超过 5 年前
Nice way to see if EU sites are GDPR compliant, because you didn&#x27;t give consent when hitting a website those websites should not use any external tags yet. You can see for example nos.nl or lemonde.fr are fairly clean, but bbc.com or bild.de are not, even though there is no consent.
nreece超过 5 年前
Question for the developer: any particular reason you&#x27;re using Chrome with xvfb rather than just headless. Its been stable for a while.
评论 #21057673 未加载
phobonym超过 5 年前
Nice, I like this.<p>Would be nice if there was a way to display&#x2F;download all cached results. Would be a nice dataset for visualisation or a dashboard.
bscphil超过 5 年前
I found a bug: when I enter a URL into the form it seems to URLencode the characters, but this doesn&#x27;t work on the site. That is, [1] works, [2] spins on &quot;status: queued&quot; forever. As far as I know I don&#x27;t have any particular settings or extensions that would cause the URL to be unexpectedly encoded. Edit: it&#x27;s <i>not</i> doing it right now, which is weird. It was just a moment ago, but maybe it was fixed? I had assumed the backend was down.<p>[1] <a href="https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;bbc.co.uk" rel="nofollow">https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;bbc.co.uk</a><p>[2] <a href="https:&#x2F;&#x2F;webtest.app&#x2F;?url=https%3A%2F%2Fbbc.co.uk" rel="nofollow">https:&#x2F;&#x2F;webtest.app&#x2F;?url=https%3A%2F%2Fbbc.co.uk</a>
regnerba超过 5 年前
Why does the Reddit page get bigger with uBlock Origin? From 2.73 MB on Chrome to 8.48 with uBlock Origin.<p><a href="https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;reddit.com" rel="nofollow">https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;reddit.com</a>
评论 #21055137 未加载
评论 #21064797 未加载
merpnderp超过 5 年前
Quite often I’m getting 2-3x the load times for ublock.<p><a href="https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;news.ycombinator.com" rel="nofollow">https:&#x2F;&#x2F;webtest.app&#x2F;?url=https:&#x2F;&#x2F;news.ycombinator.com</a>
评论 #21056481 未加载
andrerm超过 5 年前
Great work.<p>Without uBO, Forbes loads 151 cookies.
jackewiehose超过 5 年前
<a href="https:&#x2F;&#x2F;news.ycombinator.com" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com</a> takes a second longer with uBlock
评论 #21055261 未加载
arnley超过 5 年前
Thanks for sharing this gem.<p>Did you consider computing the Speed Index? [1]<p>It would help assessing the performance impact these ads have.<p>[1] <a href="https:&#x2F;&#x2F;sites.google.com&#x2F;a&#x2F;webpagetest.org&#x2F;docs&#x2F;using-webpagetest&#x2F;metrics&#x2F;speed-index" rel="nofollow">https:&#x2F;&#x2F;sites.google.com&#x2F;a&#x2F;webpagetest.org&#x2F;docs&#x2F;using-webpag...</a>
Rarok超过 5 年前
Fun, I tried it with a regional newspapper and it doesn&#x27;t shows the processing and load time in the versiones without adblock.<p>Also I never realized it was SO BAD without adblock<p><a href="https:&#x2F;&#x2F;www.lavozdegalicia.es&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.lavozdegalicia.es&#x2F;</a>
评论 #21069020 未加载
评论 #21069006 未加载
dddddaviddddd超过 5 年前
Excellent way to show the weight of ads and trackers, very clean side by side comparison.
taf2超过 5 年前
Interesting to see many sites load faster without uBlock because DOM content loaded is faster... it would be nice if we could run more scientific measurement to get a better understanding of the load time differences.
drenvuk超过 5 年前
I&#x27;m stuck in a queue. more workers please, this is awesome.
评论 #21056620 未加载
评论 #21058527 未加载
gnrlst超过 5 年前
When I test your own site (webtest.app), it doesn&#x27;t work. I was hoping for some introspection!
评论 #21057627 未加载
a_imho超过 5 年前
Not using something like ublock is simply bad hygiene.
NightlyDev超过 5 年前
Adblockers in chrome are slow. Fast pages goes from having no noticeable delay to having one. Many times the latency is not uncommon. Sure, this is only a problem for really fast pages, but it&#x27;s still really annoying.
评论 #21064799 未加载