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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Blank page with an embedded tweet. How bad can it be?

29 点作者 pdahal超过 2 年前

7 条评论

zugi超过 2 年前
Until a year or so ago you could read Twitter with Javascript disabled in your browser. So we know zero lines of Javascript are actually required to read tweets.<p>I just stopped clicking in Twitter links once they intentionally disabled browsing without Javascript, and use Nitter.net if there&#x27;s a tweet I really want to read.
评论 #34128362 未加载
prhrb超过 2 年前
One can also embed tweet with nitter by adding &#x2F;embed in the end and with iframe tag. Eg: <a href="https:&#x2F;&#x2F;nitter.fly.dev&#x2F;mhevery&#x2F;status&#x2F;1606438382561026049&#x2F;embed" rel="nofollow">https:&#x2F;&#x2F;nitter.fly.dev&#x2F;mhevery&#x2F;status&#x2F;1606438382561026049&#x2F;em...</a><p>Pagespeed score: <a href="https:&#x2F;&#x2F;pagespeed.web.dev&#x2F;report?url=https:&#x2F;&#x2F;nitter.fly.dev&#x2F;mhevery&#x2F;status&#x2F;1606438382561026049&#x2F;embed" rel="nofollow">https:&#x2F;&#x2F;pagespeed.web.dev&#x2F;report?url=https:&#x2F;&#x2F;nitter.fly.dev&#x2F;...</a><p>reference: <a href="https:&#x2F;&#x2F;github.com&#x2F;zedeus&#x2F;nitter&#x2F;pull&#x2F;515">https:&#x2F;&#x2F;github.com&#x2F;zedeus&#x2F;nitter&#x2F;pull&#x2F;515</a>
brundolf超过 2 年前
&gt; What hope does an average site have if a simple tweet requires MegaBytes of JS and seconds to interactivity?<p>Their hope is that their orgs probably aren&#x27;t as bloated as twitter&#x27;s
whywhywhywhy超过 2 年前
Watching the browser choke two load points to make it appear is truly disgusting.<p>Honestly pathetic considering the size the engineering team used to be and points to an extremely broken culture.
评论 #34128103 未加载
pdahal超过 2 年前
There is also this alternative solution if you are using react&#x2F;next<p><a href="https:&#x2F;&#x2F;static-tweet.vercel.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;static-tweet.vercel.app&#x2F;</a>
ilyt超过 2 年前
&gt; What hope does an average site have if a simple tweet requires MegaBytes of JS and seconds to interactivity?<p>But dev deploying that abomination spent whole <i>days</i> less by just including random shit instead of understand the problems they solve! That&#x27;s investor value!
评论 #34131742 未加载
评论 #34128248 未加载
pdahal超过 2 年前
JS: 1.5MB PageSpeed score: 61&#x2F;100 Time to Interactive: 9 sec TBT: 1.7 sec