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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

View Wikipedia in Dark Mode via ?withgadget=dark-mode

22 点作者 _fw大约 1 年前

3 条评论

myfonj大约 1 年前
I think the OP link would have had the parameter included:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Wikipedia:Dark_mode_(gadget)?withgadget=dark-mode" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Wikipedia:Dark_mode_(gadget)?w...</a><p>from a quick glance it adds<p><pre><code> invert(1) hue-rotate(180deg) </code></pre> to HTML style. What indeed works, but is a bit sloppy way to do a dark mode. Making usable colour palate and adjusting typography for inverted mode takes little more effort, sadly.
评论 #40338788 未加载
评论 #40338809 未加载
lolinder大约 1 年前
If you look at the description in TFA, it sounds like this isn&#x27;t a proper stylesheet, it&#x27;s a heavy Invert Colors implemented specifically for Wikipedia.<p>If we&#x27;re going to be indiscriminately inverting colors and trying to piece the page back together anyway, I strongly recommend using Dark Reader [0] instead and getting the benefits of this globally. It&#x27;s open source and <i>very</i> good. I installed it when I first got an Android phone that supported dark mode and haven&#x27;t even really noticed it since then, it&#x27;s just as though every webpage in the world started respecting my phone&#x27;s global dark mode toggle.<p>[0] <a href="https:&#x2F;&#x2F;darkreader.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;darkreader.org&#x2F;</a>
squigz大约 1 年前
By far my favorite extension is Dark Reader - no need to rely on every website to implement a dark mode<p><a href="https:&#x2F;&#x2F;darkreader.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;darkreader.org&#x2F;</a>