Hacker News new | ask | show | jobs
by o9000 2752 days ago
I’ve also written a similar addon, although much simpler, using static css filters:

https://chrome.google.com/webstore/detail/dark-mode-night-re...

https://addons.mozilla.org/en-US/firefox/addon/dark-mode-nig...

https://gitlab.com/o9000/darken

It has 4 presets that can be configured per domain.

I’ve added by hand rules to fix inverted images on some popular websites. YouTube is a pain to maintain, they keep changing their css every couple of months.

The code is simple enough to review even for someone not familiar with JS. And you can download it and load it as a local extension if you’re worried about the permission.

I’ve only tested it under Linux, I don’t use anything else. But some users tell me it works under Windows too.

2 comments

This actually seems better (more lightweight and easier to read dark colors schemes) then the Dark Reader extension.
Thanks. I use it myself so I tried hard to make it work well.