The Night Mode
by Jeff Doan
A little JS library to make reading on a website at night easier on the eyes. If the JS is included, then anytime after 8pm and before 6am (local time), users can enable Night Mode. This adds a transparent overlay to a site that makes the white background + dark text less painful to read on at night. Also, it stores a session cookie so on subsequent page views on the same site, their choice is re-applied. Happy reading!
View the source of this project on GitHub: https://github.com/jefffis/night-mode