Tints webpages so it doesn't hurt your eyes
sunglasses Extension
Tints webpages so websites with white backgrounds don't hurt your eyes when you're computing in the dark. Monitors can set brightness, but only globally and not for webpages only, which are more likely to be brighter than terminal windows.
Tweet @jshou if you have suggestions/bug reports.
Version 1.1
* Updated for Chrome manifest v2
* Security updates
Version 0.4.2
* Keyboard shortcuts! Try refreshing the tab if it doesn't work immediately.
* Ctrl+shift+9 darkens, Ctrl+shift+8 lightens
* The old shortcuts in 0.4.0 and 0.4.1 were causing problems in certain versions of Chrome. Please install the updated version if you have 0.4 or 0.4.1 installed.
New in version 0.3:
* Darkness settings persist across browser restarts
Read more
Tweet @jshou if you have suggestions/bug reports.
Version 1.1
* Updated for Chrome manifest v2
* Security updates
Version 0.4.2
* Keyboard shortcuts! Try refreshing the tab if it doesn't work immediately.
* Ctrl+shift+9 darkens, Ctrl+shift+8 lightens
* The old shortcuts in 0.4.0 and 0.4.1 were causing problems in certain versions of Chrome. Please install the updated version if you have 0.4 or 0.4.1 installed.
New in version 0.3:
* Darkness settings persist across browser restarts
Source Manifest.json
{"update_url":"http://clients2.google.com/service/update2/crx", "manifest_version": 2, "name" : "sunglasses", "version" : "1.1", "description" : "Tints webpages so it doesn't hurt your eyes", "icons" : { "48" : "images/sunglasses_48.png", "128" : "images/sunglasses_128.png" }, "browser_action" : { "default_icon" : "images/sunglasses_19.png", "default_title" : "sunglasses settings", "default_popup" : "popup.html" }, "background" : { "page" : "background.html" }, "permissions": ["tabs", ""], "content_scripts" : [ { "matches" : ["http://*/*", "https://*/*"], "js" : ["keymaster.js", "sunglasses.js"], "css" : ["sunglasses.css"] } ]}
Read more