News for hackers. Stuff that matters.
Re:Ask HN: How can I browse HN in dark mode? by Bender on Sunday September 13, 2026 @01:52PM (#49686631)
In uBlock Origin -> My Filters:

    # HN dark Mode:
    news.ycombinator.com##body:style(background: black)
    news.ycombinator.com##td:style(color: #fafafa !important)
    news.ycombinator.com##table:style(background-color: #24273a)
    news.ycombinator.com##div.toptext:style(color: #fafafa)
    news.ycombinator.com##div.c00:style(color: #fafafa !important)
    news.ycombinator.com##a:style(color: #ffa000 !important)
    news.ycombinator.com##span#karma:style(color: #faa000 !important)
    news.ycombinator.com##span.pagetop:style(color: #fafafa !important)
    news.ycombinator.com##textarea:style(color: #696969 !important; background: inherit; )
    news.ycombinator.com###hnmain:style(background: #24273a !important)
Re:Ask HN: How can I browse HN in dark mode? by farlight on Sunday September 13, 2026 @01:25PM (#49686314)
On Android, Vivaldi supports dark more out of the box. It's actually just a toggle for the dark mode present on any chromium-based browser, and you can enable it globally in any of them in chrome://flags/#enable-force-dark

Dark Reader, often recommended, is very slow, especially on old hardware. This built-in mode is much more efficient and works well on vast majority of pages.

Re:Ask HN: How can I browse HN in dark mode? by soniczentropy on Sunday September 13, 2026 @02:06PM (#49686802)
Dark Reader's slowness primarily stems from its auto-detection of pages that need darkening. If you turn that off and manually enable it on pages that need it, it doesn't feel any slower than anything else
Re:Ask HN: How can I browse HN in dark mode? by dominick-cc on Sunday September 13, 2026 @02:11PM (#49686858)
That flag doesn't seem to work for me in android chrome or brave, when enabled HN is still very much light mode
Re:Ask HN: How can I browse HN in dark mode? by gabrielsroka on Sunday September 13, 2026 @01:55PM (#49686664)
So do Chrome and Brave.
Re:Ask HN: How can I browse HN in dark mode? by accrual on Sunday September 13, 2026 @01:53PM (#49686639)
I am using Stylus and this theme:

    body {
        background-color: #262626 !important;
    }

    body > center > table, input, textarea {
        background-color: #222 !important;
    }

    body > center > table > tbody > tr:first-child > td {
        background-color: #ff6600 !important;
    }

    /* Bright text */
    td.title a:link, span.comment font, span.comment font a:link, u a:link, span.yclinks a:link, body:not([id]),
    td:nth-child(2):not(.subtext) > a:link, input, textarea, p > a, a > u, .c00, .c00 a:link,
    a[href="http://www.ycombinator.com/apply/"], a[href="https://www.ycombinator.com/apply/"] {
        color: #ccc !important;
    }

    .admin td {
        color: #aaa !important;
    }

    /* search box and comment box */
    input, textarea {
        border: 1px solid #828282 !important;
    }
Re:Ask HN: How can I browse HN in dark mode? by accrual on Monday September 14, 2026 @03:56PM (#49702998)
I set this up a while back and am struggling to find the original author. Future readers: note I did not create this theme but discovered it from a fellow HN netizen.
Re:Ask HN: How can I browse HN in dark mode? by Meneth on Sunday September 13, 2026 @02:10PM (#49686843)
I used "Override colors" under Settings -> Accessibility to set nice dark colors.

Then I used userChrome.js from https://github.com/AlexVallat/firefox-scripts/ to add a button which toggles the browser preferences "browser.display.use_system_colors" and "browser.display.document_color_use", so I can still access bright mode if needed.

Re:Ask HN: How can I browse HN in dark mode? by HeavyStorm on Sunday September 13, 2026 @03:55PM (#49688002)
I use Dark Reader on my Firefox Mobile and on any of my pc browsers.
Re:Ask HN: How can I browse HN in dark mode? by robgough on Sunday September 13, 2026 @01:47PM (#49686579)
If you're on one of the betas for about-to-be-released apple OS’s, there's a new describe an extension functionality and building a dark mode for HN is exactly what I just used it to do. Super easy, and synced across all my devices.

I know this sounds like an ad, but I was pretty impressed with it

Re:Ask HN: How can I browse HN in dark mode? by _fw on Sunday September 13, 2026 @01:59PM (#49686715)
Great idea! I tried this just after reading your comment, 20s later I had a working extension that does exactly this for HN.

Thank you!

Re:Ask HN: How can I browse HN in dark mode? by no-name-here on Sunday September 13, 2026 @10:35PM (#49691220)
Re:Ask HN: How can I browse HN in dark mode? by Rendello on Sunday September 13, 2026 @01:47PM (#49686569)
The suggestion has been brought up and dang has commented on it over the years. He doesn't seem opposed to it per se. It's possible your descendants may live to see dark-mode HN:

https://news.ycombinator.com/item?id=23199062

See also:

dang + "dark mode": https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

dang + "on the list" (lol): https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

Re:Ask HN: How can I browse HN in dark mode? by layer8 on Sunday September 13, 2026 @02:31PM (#49687130)
On Safari I use https://getnoir.app/.
Re:Ask HN: How can I browse HN in dark mode? by Metricon on Sunday September 13, 2026 @01:57PM (#49686682)
I use the "Comments Owl for Hacker News" Firefox extension - https://soitis.dev/comments-owl-for-hacker-news

It has a "Dark Mode" under options, plus it allows you to revisit a thread later and know which comments are new.

Re:Ask HN: How can I browse HN in dark mode? by marcelo-earth on Sunday September 13, 2026 @01:54PM (#49686650)
This is the Chrome Extension that I use, I love it because it has a Safari version that you can use on your iPhone:

https://chromewebstore.google.com/detail/hn-dark-mode/abpjfl...

Re:Ask HN: How can I browse HN in dark mode? by faxmeyourcode on Sunday September 13, 2026 @02:22PM (#49687006)
Firefox desktop and mobile let you install addons like https://darkreader.org/ which work great.
Re:Ask HN: How can I browse HN in dark mode? by stagas on Sunday September 13, 2026 @01:23PM (#49686291)
Dark Reader extension for Chrome.
Re:Ask HN: How can I browse HN in dark mode? by xeonax on Sunday September 13, 2026 @01:23PM (#49686287)
Darkreader extension in Firefox
Re:Ask HN: How can I browse HN in dark mode? by marcomourao on Sunday September 13, 2026 @03:55PM (#49688008)
On iOS, Octal.
Re:Ask HN: How can I browse HN in dark mode? by samus on Sunday September 13, 2026 @01:53PM (#49686641)
Stock Dark Reader browser extension works well for me.
Re:Ask HN: How can I browse HN in dark mode? by tech234a on Sunday September 13, 2026 @01:27PM (#49686336)
I still remember this thread: https://news.ycombinator.com/item?id=23197966
Re:Ask HN: How can I browse HN in dark mode? by avipars on Sunday September 13, 2026 @01:38PM (#49686458)
Re:Ask HN: How can I browse HN in dark mode? by alanvitor on Sunday September 13, 2026 @03:09PM (#49687534)
Opera browser supports it natively
Re:Ask HN: How can I browse HN in dark mode? by VCFundedGenYer on Sunday September 13, 2026 @01:38PM (#49686459)
Use the firefox extension "Dark Background and Light Text".
Re:Ask HN: How can I browse HN in dark mode? by randyrand on Sunday September 13, 2026 @02:29PM (#49687103)
iOS accessibility shortcut: 3 taps on sleep button inverts the colors of any website, if you set it up.
Re:Ask HN: How can I browse HN in dark mode? by OnionBlender on Sunday September 13, 2026 @01:26PM (#49686328)
https://hcker.news has multiple dark mode themes.
Re:Ask HN: How can I browse HN in dark mode? by salvesefu on Sunday September 13, 2026 @01:40PM (#49686487)
this is dope.
Re:Ask HN: How can I browse HN in dark mode? by herodoturtle on Sunday September 13, 2026 @01:47PM (#49686563)
thanks!
Re:Ask HN: How can I browse HN in dark mode? by postalcoder on Tuesday September 15, 2026 @06:14AM (#49710200)
Coincidentally, the midnight theme was created specifically for the reason you asked this question: for using HN while lying down next to a toddler/partner. It has a reduced white point because most dark modes are too bright to use in bed near others. Def not a great daytime dark theme though – that's what the others are for :)
Re:Ask HN: How can I browse HN in dark mode? by herodoturtle on Saturday September 19, 2026 @01:54PM (#49768700)
Thanks once again. You’ve totally improved my night time HN routine. My little one is asleep next to me as I type this :-)
Re:Ask HN: How can I browse HN in dark mode? by pelagic_sky on Sunday September 13, 2026 @01:21PM (#49686262)
I use the HN Enhance extension in FF.
Re:Ask HN: How can I browse HN in dark mode? by Uzazo on Sunday September 13, 2026 @01:33PM (#49686398)
Dark Reader extension in Safari.
Re:Ask HN: How can I browse HN in dark mode? by viccis on Sunday September 13, 2026 @01:47PM (#49686561)
Re:Ask HN: How can I browse HN in dark mode? by WithinReason on Sunday September 13, 2026 @04:38PM (#49688434)
Save this in a bookmarklet and click it to turn any website dark:

    javascript:(function(){const id='_dark_mode_bm';const el=document.getElementById(id);if(el){el.remove();}else{const s=document.createElement('style');s.id=id;s.textContent='html{filter:invert(1) hue-rotate(180deg)!important;background:#fff!important;}img,video,canvas,picture,svg{filter:invert(1) hue-rotate(180deg)!important;}';document.head.appendChild(s);}})();
faster version:

    javascript:(function(){const id='_dark_perf_bm';const el=document.getElementById(id);if(el){el.remove();}else{const s=document.createElement('style');s.id=id;s.textContent=':root{color-scheme:dark!important;}html,body{background-color:#141414!important;color:#dcdcdc!important;}div,section,article,nav,header,footer,aside,main,table,tr,td,th,ul,ol,li{background-color:#18191a!important;color:#dcdcdc!important;border-color:#383838!important;}p,span,h1,h2,h3,h4,h5,h6,b,strong,i,em{color:inherit!important;}a,a%20*{color:#58a6ff!important;}pre,code,kbd{background-color:#202224!important;color:#ff9857!important;}input,textarea,select,button{background-color:#262626!important;color:#fff!important;border:1px%20solid%20#444!important;}img,video,canvas,picture{background-color:transparent!important;}';document.head.appendChild(s);}})();
Re:Ask HN: How can I browse HN in dark mode? by abstractspoon on Sunday September 13, 2026 @08:36PM (#49690355)
Try Harmonic
Re:Ask HN: How can I browse HN in dark mode? by backtr4ck on Monday September 14, 2026 @02:10AM (#49692611)
Darl Reader extension in Vivalvi
Re:Ask HN: How can I browse HN in dark mode? by tiimbz on Tuesday September 22, 2026 @02:04AM (#49797306)
For IOS, the Dark Reader extension in Orion.