HackerURLs

一次又一次被重新发现的经典。

同一个链接,相隔一年以上,一次又一次被人重新发现、再次冲上 Hacker News 首页。能经受住这种时间检验的,大多是值得一读再读的文章。每篇附中文标题,讨论最热的那些再加上中文导读和高赞评论翻译。

从名人堂开始
  • 4,700+篇经过时间检验的经典

Hall of fame

名人堂

在经典库里看全部精选

上首页次数最多、而且有中文导读的 30 篇。时间轴上每个黑点是一次上首页,空心点是一次没冲上去的投稿。

  1. 正在载入经典…

Archive

经典库

按第一次上首页的年份分布,点柱子筛选。

排序

    About

    这些经典是怎么挑出来的

    1. 01

      合并同一个链接

      读取 Hacker News 自 2006 年以来的全部链接投稿,把 http/https、www、跟踪参数等写法不同的同一篇文章合并成一条。

    2. 02

      只留经得起时间的

      同一链接至少两次拿到 50 分以上(约等于上首页),而且两次相隔一年以上;再由 AI 剔除状态页、产品首页和新闻事件。

    3. 03

      写导读、译评论

      上首页次数最多的 2,000 篇配上中文导读、"为什么经久不衰",并精选翻译 HN 高赞评论。导读由 AI 生成,可能有误。

    工具与资源github.com

    uBlacklist:屏蔽 Google 搜索结果中的特定网站

    uBlacklist – Block specific sites from appearing in Google search results

    2次上首页
    2年跨度
    782累计得分
    402条评论

    2022 — 2024,它一次次回到首页

    黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。

    导读

    uBlacklist 是一款浏览器扩展,可以在 Google、DuckDuckGo、Bing 等搜索结果中屏蔽指定网站,支持正则/通配符规则,也能订阅别人维护的屏蔽列表。它把「不想再看到这些站」这件事从手动逐条忽略变成了可维护、可共享的过滤规则。

    为什么经久不衰:搜索结果里的内容农场、克隆站和 SEO 垃圾多年不减,而这个小工具用简单规则一劳永逸地净化搜索结果,所以每隔几年就会被重新翻出来推荐。

    关键词 浏览器扩展搜索结果过滤内容农场隐私工具

    HN 评论精选

    用 uBlock Origin 自定义过滤规则即可实现同样效果,无需另装扩展

    我之前发过这个:只用 uBlock Origin 的静态过滤规则也能达到同样效果,不必再装额外扩展。例如屏蔽 Google 或 DDG 上特定域名的结果:google.*##.g:has(a[href*="thetopsites.com"])、duckduckgo.*##.results > div:has(a[href*="thetopsites.com"])。甚至可以用 :has-text(/regex/) 选择器匹配元素文本,比如 google.*##.g:has(*:has-text(/bye topic of noninterest/i))。附赠一条:用 *##body > div > div:has(*:has-text(/To make Medium work.*Privacy Policy.*Cookie Policy/i)) 干掉 Medium 烦人的 cookie 提示。

    krono查看英文原文

    I've posted this before, but you can achieve the same with uBlock Origin static filters alone without having to install any additional extensions. For example: To block results from specific domains on Google or DDG: google.*##.g:has(a[href*="thetopsites.com"]) duckduckgo.*##.results > div:has(a[href*="thetopsites.com"]) And it's even possible to target an element's text content with a `:has-text(/regex/)` selector: google.*##.g:has(*:has-text(/bye topic of noninterest/i)) duckduckgo.*##.results > div:has(*:has-text(/bye topic of noninterest/i)) As a bonus, here's how to get rid of Medium's obnoxious cookie notification across all domains: *##body > div > div:has(*:has-text(/To make Medium work.*Privacy Policy.*Cookie Policy/i))

    Kagi 搜索自带站点屏蔽功能,是替代方案

    另一个选择是干脆不用 Google,改用 Kagi(kagi.com),它也提供同样的功能。

    ezekg查看英文原文

    Alternatively, you could stop using Google and use Kagi (https://kagi.com), which offers the same feature. :)

    配合现成的社区黑名单可批量屏蔽 SO/GitHub 的翻译克隆垃圾站

    我在用 uBlacklist,外加这两个黑名单,用来屏蔽那些克隆 Stack Overflow 和 GitHub 页面的垃圾站:arosh/ublacklist-stackoverflow-translation 和 arosh/ublacklist-github-translation。

    lordgilman查看英文原文

    I'm using uBlacklist plus these two blacklists that block out spam sites that clone pages from Stack Overflow and Github. https://github.com/arosh/ublacklist-stackoverflow-translation https://github.com/arosh/ublacklist-github-translation

    自制的通用元素屏蔽扩展把同样思路扩展到全网站,作者认为这能倒逼网站改善质量

    多年前我给自己写了个 Firefox 扩展,把这件事推广到整个互联网:指定正则匹配属性值和/或文本,再指定要应用到匹配元素上的 CSS。可以写任意 CSS,但如果是 visibility: hidden 或 display: none,就等于把内容藏起来(我也只用过这个)。它在还支持完整扩展的 Firefox for Android 上也能用。从此在网上任何地方都看不到 Facebook、Twitter 之类的链接,几乎像它们不存在一样。偶尔会有点小怪异(文本匹配容易出问题,但那是可选项,属性值匹配非常可靠),不过我没错过什么重要东西。我觉得如果人人都有这种能力,会促使网站别做得那么烂。它用到了我以前没碰过的 MutationObserver、TreeWalker 等 JS API,才能在通过 JS 加载内容的站点(比如 Google)上高效运行。源码在 github.com/7w0/ssure,有意思的部分在 content.js。

    kgwxd查看英文原文

    Years ago, I made a FireFox addon for myself to do exactly this but everywhere on the internet. You specify a regular express to match attribute values and/or text, and the CSS to apply to the elements containing the matches. You can specify any CSS you want but if it's something like visibility: hidden or display: none it has this effect (and is the only thing I've actually used it for). It even worked on FireFox for Android when that supported proper addons. It's really nice to never see a link to Facebook, Twitter, etc anywhere on the internet. It's almost like they don't exist. It causes a few oddities here and there (The text matching is problematic but it's optional, the attribute value matching works really well), but I've never missed anything important. I feel like if everyone had this power everywhere, it would serve as incentive for sites to not suck. It took some fun javascript APIs I've never had to use before (like MutationObserver and TreeWalker) to get it to work right and efficiently, especially on sites that load content via JS (like Google). Source: https://github.com/7w0/ssure (the interesting bits are in content.js) Addon: https://addons.mozilla.org/en-US/firefox/addon/ssure/

    历次讨论

    同类还值得读

    1. 直接在浏览器中启动 Linux 内核

      Boot a linux kernel right inside your browser.

      Fabrice Bellard 的 JSLinux 页面,用 JavaScript 在浏览器里启动一个 Linux 内核,并提供一个可交互的终端环境。

      工具与资源上首页 5 次 · 2011–2025bellard.org
    2. Hacker News 未公开功能与行为清单(2018)

      A List of Hacker News's Undocumented Features and Behaviors (2018)

      数据科学家 Max Woolf 整理的 Hacker News 未公开功能与行为清单,涵盖投票机制、排名算法、账号惩罚等社区运作细节。

      工具与资源上首页 5 次 · 2019–2025github.com
    3. MapSCII:在终端中用盲文和 ASCII 渲染地图

      MapSCII – Braille and ASCII map renderer for the console

      MapSCII 是一个在命令行终端里渲染地图的开源工具,用盲文字符和 ASCII 字符把地理数据画成可交互浏览的字符地图。

      工具与资源上首页 5 次 · 2017–2025github.com
    4. 顶尖大学的免费在线课程

      Free Online Courses from Top Universities

      Open Culture 整理的一份免费在线课程合集,汇集了全球顶尖大学(如 MIT、斯坦福、耶鲁等)向公众开放的网络课程资源,涵盖音频、视频等多种形式。

      工具与资源上首页 5 次 · 2010–2022openculture.com
    5. 淘气字符串:容易引发用户输入问题的字符串清单

      Naughty Strings: A list of strings likely to cause issues as user-input data

      一个 GitHub 仓库,收录了大量容易让程序出问题的用户输入字符串,如特殊字符、emoji、SQL 注入片段、系统命令等,供开发者用于测试输入处理逻辑。

      工具与资源上首页 4 次 · 2015–2020github.com

    打赏支持

    打赏二维码

    觉得有用,请作者喝杯咖啡。

    WeChat

    关注向阳乔木

    微信公众号「向阳乔木推荐看」

    微信公众号「向阳乔木推荐看」二维码

    微信扫一扫;在微信里打开本页时,长按二维码识别。