Window tint for the web.
Obscura reduces blue light from web pages, making it easier to fall asleep.
Simple controls: on/off button, and a color picker.
Respects your privacy: no trackers, no ads.
Permissions: this type of extension requires the "can read and change your data" permission, even though it does not actually read any of your data. That's why I wrote this extension, and it's why I try to keep the code short - so anyone can look at the code and be sure it is not doing anything nefarious.
Note: that this type of extension does not work on the Chrome Web Store pages, you'll have to visit a normal page to see the effect.
You're encouraged to examine and audit the code yourself, it's relatively short at 58 total lines of JavaScript.
Source code available (MIT License): https://gitlab.com/hoosieree/chrome-extension-obscura
Changelog (starting with version 3.1, see gitlab commit messages for more detail).
3.1: Chrome fixed their issue with PDFs not playing nice with extensions, so I was able to remove some special case code. Nice when an update is smaller than the previous version.
3.2: bugfix - typo caused entire extension to not work. Solution: remove typo.
3.3: Remove debug console messages, remove unused code, remove div id.
3.3.1: Work around some websites not respecting the "hidden" attribute of obscura's div, and as a result made the code shorter and simpler. Win-win!
Latest reviews
- (2018-04-05) Laughing Prince: Great stuff. Thanks for making this, it's really refreshing after wandering through an endless sea of paid promotions, spyware, and non-functional extensions to find something which immediately upon using I see a noticeable and positive difference. The UI frankly isn't pretty but it's intuitive and works well. Only change I'd recommend is a note when on the extension store that extensions don't work~ I always forget that and spend a minute wondering why nothing is happening before realizing that I need to change to a different page to see a change.