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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

HN Dark Mode

13 点作者 barcoder超过 3 年前
There's apps, but I love reading HN from a browser. Please can we have a dark button?

6 条评论

susam超过 3 年前
I have a tiny Greasemonkey script to do this myself.<p><pre><code> &#x2F;&#x2F; ==UserScript== &#x2F;&#x2F; @name Dark HN &#x2F;&#x2F; @match https:&#x2F;&#x2F;news.ycombinator.com&#x2F;* &#x2F;&#x2F; ==&#x2F;UserScript== window.addEventListener(&#x27;load&#x27;, function () { document.body.style.background = &#x27;#111&#x27; document.body.style.filter = &#x27;invert(1) hue-rotate(180deg)&#x27; })</code></pre>
评论 #29041791 未加载
Jugurtha超过 3 年前
I don&#x27;t quite get why people ask for a dark mode in websites. I&#x27;ve been using &quot;Dark Reader&quot; on Chrome[0] for a long time ib all websites, without them offering a dark mode, to the point these requests, or even websites announcements of their &quot;dark mode&quot; have become &quot;meh&quot; for me.<p>- [0]: <a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;dark-reader&#x2F;eimadpbcbfnmbkopoojfekhnkhdbieeh" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;dark-reader&#x2F;eimadp...</a>
hotdox超过 3 年前
I have a custom Stylys(there was some shenanigans with Stylish) CSS. It is called &quot;Hacker News Readable Dark&quot; <a href="https:&#x2F;&#x2F;userstyles.org&#x2F;styles&#x2F;160459&#x2F;hacker-news-readable-dark" rel="nofollow">https:&#x2F;&#x2F;userstyles.org&#x2F;styles&#x2F;160459&#x2F;hacker-news-readable-da...</a>
DataCrayon超过 3 年前
Just in case this is useful to you: <a href="https:&#x2F;&#x2F;darkreader.org" rel="nofollow">https:&#x2F;&#x2F;darkreader.org</a>
ksec超过 3 年前
It used to be the case the only browser that does have some decent Dark Mode extension is Safari.<p>Now you have Darker News and HNDark. Both are free on App Store.<p>I am using them both at the same time to get &quot;Gray&quot; Mode instead of &quot;Dark&quot;.<p>But yes I really wish we have official Dark Mode on HN.
amerkhalid超过 3 年前
Based on comments, yes there are apps &amp; JS&#x2F;CSS hacks that I can do. But I rather not install another app on my phone, I too would really appreciate a dark mode.