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.

Idea: on the Show page, remove 'Show HN' from the titles

7 pointsby joelanmanover 9 years ago
All the links on the Show page start with "Show HN", which is superfluous and the repetition hinders reading of the page. Suggest hiding/removing that text on this page.

5 comments

tedmistonover 9 years ago
You could turn this little JavaScript snippet into a Chrome extension that runs only on <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;show" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;show</a> pretty easily.<p>First inject jQuery (or similar):<p><pre><code> var s = document.createElement(&quot;script&quot;); s.src = &quot;&#x2F;&#x2F;cdnjs.cloudflare.com&#x2F;ajax&#x2F;libs&#x2F;jquery&#x2F;2.1.4&#x2F;jquery.min.js&quot;; document.head.appendChild(s); </code></pre> Then remove <i>Show HN</i> from titles:<p><pre><code> $(&quot;td.title &gt; a&quot;).each(function(){ this.text = this.text.replace(&quot;Show HN: &quot;, &quot;&quot;) });</code></pre>
brudgersover 9 years ago
Based upon the rules [0] I suspect that the title is parsed and that &quot;Show HN&quot; is what moves a submission to that page. Items from |show| can show up on the front page. I believe having the information in the title gives the community the appropriate context for evaluating and commenting on the item.<p>Then again, my experience is that titles are a poor proxy for content often enough that I try to click on links before commenting on a submission or evaluating it. Often the awesomeness is inversely proportional to the quality of the title. My heuristic is, when in doubt click.<p>[0]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;showhn.html" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;showhn.html</a>
评论 #10758483 未加载
joelanmanover 9 years ago
To be clear, the logic I&#x27;m suggesting is to hide the text on the Show page only. The text would still be in the title in the database, and shown everywhere else.
colundover 9 years ago
The Show HN prefix is useful in the list of top stories to distinguish from regular links
tugberkkover 9 years ago
using show hn in search helps a lot. i say write to every one of them :)