Are there any browsers out there with a decent "Night" mode? I'm aware of the "Reader" addon for Dolphin HD, but it's really not what I'm looking for (and only works on some pages). A good night mode would help a great deal with reading in the browser on OLED/AMOLED devices like the Galaxy S phones.
I suspect that doing this right would require fiddling with the actual code that draws the screen rather than changing CSS/DOM/HTML etc. - changing the CSS and DOM can break on pages that update dynamically, e.g. Google Reader.
My ideal would be something that in night mode would do an "Invert Lightness" at display time - convert from RGB to HSL, then invert the lightness (becomes 1-L). I'm not sure how much performance hit there'd be from the added conditionals, table lookup and (initially) table-fill during the lookups during the display, so I'm not sure how practical this would be. It also shouldn't apply to images, so it wouldn't work well where the page background is a graphic rather than a specified color.
A nice example of this is the Invert Lightness bookmarklet at https://www.squarefree.com/bookmarklets/color.html
I suspect that doing this right would require fiddling with the actual code that draws the screen rather than changing CSS/DOM/HTML etc. - changing the CSS and DOM can break on pages that update dynamically, e.g. Google Reader.
My ideal would be something that in night mode would do an "Invert Lightness" at display time - convert from RGB to HSL, then invert the lightness (becomes 1-L). I'm not sure how much performance hit there'd be from the added conditionals, table lookup and (initially) table-fill during the lookups during the display, so I'm not sure how practical this would be. It also shouldn't apply to images, so it wouldn't work well where the page background is a graphic rather than a specified color.
A nice example of this is the Invert Lightness bookmarklet at https://www.squarefree.com/bookmarklets/color.html