5 ms·
I’ve also written a similar addon, although much simpler, using static css filters: https://chrome.google.com/webstore/detail/dark-mode-night-reader/hmafjphdkl
by o9000 8y ago
I’ve also written a similar addon, although much simpler, using static css filters:
https://chrome.google.com/webstore/detail/dark-mode-night-reader/hmafjphdklmdjfcnljjeonfpgafanjjc?hl=en https://chrome.google.com/webstore/detail/dark-mode-night-re...
https://addons.mozilla.org/en-US/firefox/addon/dark-mode-night-reader/ https://addons.mozilla.org/en-US/firefox/addon/dark-mode-nig...
https://gitlab.com/o9000/darken 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.
- o9000 8y agoHere are the filters: https://gitlab.com/o9000/darken/blob/master/chrome/style.css https://gitlab.com/o9000/darken/blob/master/chrome/style.css
- l5870uoo9y 8y agoThis actually seems better (more lightweight and easier to read dark colors schemes) then the Dark Reader extension.
- o9000 8y agoThanks. I use it myself so I tried hard to make it work well.