Hacker News new | past | comments | ask | show | jobs | submit login

i made a similar extension some years ago -- it tries to be fast and injects very little code. i'm curious to know how the performance compares:

https://github.com/conceptualspace/nightlight




Your code is based on CSS filters. Dark Reader provides this mode too, but also allows users to fix and share wrongly inverted parts https://github.com/darkreader/darkreader/blob/master/src/con...

Dynamic mode is slower at start, but has no impact on performance after all the stylesheets were analyzed.


nightlight is "dynamic" by using a simple heuristic after pageload to deinvert if necessary. but the crowdsourced filter is a great idea! might borrow it :)

does your extension run on android? there are two motivations for nightlight aside from its obvious purpose:

1) be fast on android 2) keep source code simple as possible so everything the extension does is obvious. when i wrote nightlight it was difficult to evaluate the safety of the other extensions at the time, something important to me for a plugin which has full access to all browsing


Yes, it works in Firefox for Android and in Yandex browser. The only issue with Firefox is white user interface and white default color.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: