Reading comfortably with inverted brightness but preserved hue

Latest Version

Version
1.7.41
Update
November 17, 2017
Size
204KiB
Developer
Category
Users
3,000+
Rating
4.66667 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
Storage
Http://*/*
Https://*/*
Ftp://*/*
File://*
See more

Night Reader Extension

This extension eases your eyes by inverting the brightness of every webpage you browse.
The majority of websites mainly use very light colors, but some already have a refreshing dark theme. For these the user can disable the domain, essentially setting it on a blacklist of the application.
Its goal is, in contrast to the approach of creating new webpage–specific templates, to be as general as possible. This is best achieved by applying the CSS filter invert to the document root, because it inverts the whole area in one swoop after it got rendered normally instead of going through every element. This is even more efficient because CSS filters rely on the browser implementation, meaning all the good stuff like hardware acceleration or other system specific optimizations.
Images should still show normally, but single elements cannot be excluded from the filter. This is no problem, since they can just get inverted on their own before the whole document gets inverted, reverting the images to their original color.
To preserve the visual appearance of websites which may be iconic like the blue theme of Facebook, another filter is applied that rotates the hue back by 180 degrees. However, due to certain limitations of the RGB color model, very saturated colors get clipped in their value component that would have to exceed the maximum, resulting in occasional weird–looking images after they got reverted. Where an exact representation is needed, the hue–rotation can be disabled.

[TODO]

more ideas to be implemented in future releases are:
— serve options page to input custom CSS rules to optimize other websites
— friendly ui for options page (e.g. click [+] to add a rule, specify the case e.g. as regex, input CSS to be applied into text field)
— keyboard shortcuts for enabling/disabling on domain and more
— (maybe) make only–invert option domain specific
— (maybe) optionally stop inverting input text fields
— (do YOU have an idea? contact me!)

[KNOWN BUGS]

— (confirmed for Chrome) Prints get heavily pixelated when NightReader is enabled (even with \"enabled globally\" unchecked). There might be a possible fix in a future Version.
Workaround: disable Extension for printing

[CHANGELOG]

[Version 1.7.41]
fix for changed Twitter CSS
improvements and tweaks for YouTube, Twitch, Twitch Beta, Wikipedia, TED and Bandcamp

[Version 1.7.4]
made popup visually respond like websites (bg + css filter)
adjustment for new YT theme (and other domains)
updated preset blacklist

[Version 1.7.3]
Updated predefined custom rules for twitch.tv (not inverting the dark theme)
added predefined custom rules for bandcamp.com

[Version 1.7.2]
Fixed/improved some of the predefined custom rules
added message encouraging feedback

[Version 1.7.1]
Bugfix: extension won't install because options page (WIP) was referenced but not found because it got excluded when packing extension

[Version 1.7]
First public release of Night Reader
Working:
- inverting webpages via css filter at earliest possible stage (when loading a webpage)
- inverting images etc. back to display normally
- hue-rotating by 180 deg to achieve a brightness invert effect/preserving hues to keep the visual appearence as close to the original as possible
- global quick extension disable switch
- domain based blacklist managed by user
- hidden CSS rules to further enhace and smoothen some features of a couple of popular websites like Facebook and Twitter
- hue-rotation disable switch as workaround for loss of color information with very saturated colors
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx","manifest_version": 2,"name": "Night Reader","description": "Reading comfortably with inverted brightness but preserved hue","icons": {"256": "icons/icon-256.png","128": "icons/icon-128.png","96": "icons/icon-96.png","48": "icons/icon-48.png"},"version": "1.7.41","content_scripts": [{"matches": ["http://*/*", "https://*/*", "ftp://*/*", "file://*"],"js": ["autotoggle.js"],"run_at": "document_start","all_frames": true}],"background": {"scripts": []},"browser_action": {"default_icon": "icons/icon-256.png","default_popup": "popup.html"},"permissions": ["activeTab","storage","http://*/*","https://*/*","ftp://*/*","file://*"]}
Read more

Similar Extensions

icon

Dark Reader Dark Extension · Productivity 3,000+ 79 ★ 205KiB

icon

Lunar Reader - Dark Theme & Night Shift Mode Extension · Accessibility 3,000+ 1338 ★ 405KiB

icon

Invert! Extension · Accessibility 3,000+ 96 ★ 22.53KiB

icon

Global Dark Style Extension · Productivity 3,000+ 47 ★ 122KiB

icon

Simple Night Mode Extension · Accessibility 3,000+ 40 ★ 7.84KiB

icon

Special Dark Extension · Accessibility 3,000+ 25 ★ 99.18KiB

icon

Illumify Extension · Accessibility 3,000+ 54 ★ 602KiB

icon

Dark Mode Global Extension · Accessibility 3,000+ 15 ★ 27.19KiB

icon

Dark mode / night reader Extension · Accessibility 3,000+ 239 ★ 45.36KiB

icon

Better Dark Mode Extension · Accessibility 3,000+ 28 ★ 32.05KiB

icon

FPL Dark Mode Extension · Accessibility 3,000+ 1 ★ 32.86KiB

icon

Night Mode - Alfa Version Extension · Productivity 3,000+ 4 ★ 42.85KiB

icon

ReaDark - Reading & Dark Mode Extension · Accessibility 3,000+ 11 ★ 19.13KiB

icon

SLIVER Night Mode Extension · Productivity 3,000+ 5 ★ 68.89KiB

icon

dark reader plus Extension · Accessibility 3,000+ 2 ★ 24.29KiB

icon

Background Randomizer Extension · Developer Tools 3,000+ 8 ★ 20.38KiB

icon

Midnight Lizard Extension · Accessibility 3,000+ 791 ★ 1.02MiB

icon

Daydream Night Mode Extension · Accessibility 3,000+ 11 ★ 10.58KiB

icon

Reluminate Extension · Accessibility 3,000+ 13 ★ 18.79KiB

icon

Dark Mode Extension · Accessibility 3,000+ 221 ★ 407KiB

icon

Night Shift Pro Extension · Productivity 3,000+ 24 ★ 205KiB

icon

Dark Night Mode Extension · Accessibility 3,000+ 706 ★ 262KiB

icon

Custom Dark Mode Extension · Productivity 3,000+ 13 ★ 90.07KiB

icon

Inverter for Nocturne Extension · Accessibility 3,000+ 9 ★ 12.29KiB

User reviews

icon

pipe 4545 (ID: 000000bc7e8b28a3) Voted 5 ★ - Updated 02/21/2023 estuve buscando una extensión que sirviera con Duolingo, y de las que probé esta es la única que si sirve bien.

icon

tellfile (ID: 0000007a7b8de7f7) Voted 5 ★ - Updated 12/09/2022 I almost gave up looking for a dark page addon until I found this one. This one gave thought to actually being able to see the text well, while all the other ones had the text too grayish dim, and any blue text too dark to even read against that black background. What was they thinking. This one is the best. Long live it.

icon

Maria Mason (ID: 0000006a6cf2680b) Voted 2 ★ - Updated 10/25/2022 This extension is so henky. Sometimes it works (rarely) but most of time it does not. I have tried reloading. Using the rotate option etc but nothing works any longer. It did a few times. Removing it today.

icon

Samer Ben hamed (ID: 000000cda13f1668) Voted 5 ★ - Updated 10/05/2022 Exactly what I was looking for: dark mode for any webpage.

icon

Keehan Koorn (ID: 00000076aecb8bcc) Voted 4 ★ - Updated 01/19/2022 This is the best reading experience I've had with a dark mode chrome extension. My only concern is that I have to accept that the app will read all of my browsing data in order for it to work, and there is no statement regarding privacy by the developer. Unfortunately I can't seem to reach the developer directly to ask about it.