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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: I made a browser extension that fixes Hacker News' block formatting

18 点作者 corollari超过 5 年前

5 条评论

guessmyname超过 5 年前
Here is an example of the problem this extension fixes:<p><pre><code> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </code></pre> My <i>“solution”</i> is to add asterisks around the text to make it <i>Italic</i>, like so:<p>&gt; <i>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</i><p>Here are the official formatting guidelines: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;formatdoc" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;formatdoc</a>
评论 #21020977 未加载
floatingatoll超过 5 年前
Describing your advocacy against the official position as “fixing” is playing political games with framing and will worsen the site experience for the rest of us as users install and use it.<p>The official policy says:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;formatdoc" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;formatdoc</a><p>&gt; This is intended for code.
aasasd超过 5 年前
The Stylus addon is a more generic solution, it works on phones: <a href="https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;styl-us&#x2F;" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;styl-us&#x2F;</a><p>As a bonus, you can fix the ‘[-]’ comment collapse link by making it five times wider. And crank up the font size.<p>The primary annoyance with this approach is that you can&#x27;t look up the tag hierarchy and classes on a phone, at least I haven&#x27;t found an extension that would let me do it even on the desktop (even though I think I&#x27;ve seen some, years ago).
评论 #21021284 未加载
harel超过 5 年前
Am I &quot;missing&quot; something? I don&#x27;t get those scrollbar comment layout... Where is the problem being fixed?
评论 #21020981 未加载
crispyporkbites超过 5 年前
Why isn’t HN open source? It is after all hacker, news
评论 #21021250 未加载