Obscura

Window tint for the web.

What is Obscura?

Obscura is a Chrome extension developed by Alex Shroyer, and its main feature is "Window tint for the web.".

Extension Screenshots

screenshot
screenshot
screenshot
screenshot

Download Obscura Extension CRX File

Download Obscura extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        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!                    

Extension Basic Information

Name Obscura Obscura
ID nhlkgnilpmpddehjcegjpofpiiaomnen
Official URL https://chromewebstore.google.com/detail/obscura/nhlkgnilpmpddehjcegjpofpiiaomnen
Description Window tint for the web.
File Size 25.35 KB
Installation Count 21
Current Version 3.3.1
Last Updated 2020-03-27
Publish Date 2020-03-23
Rating 5.00/5 Total 1 Ratings
Developer Alex Shroyer
Payment Type free
Extension Website https://gitlab.com/hoosieree/chrome-extension-obscura
Help Page URL https://gitlab.com/hoosieree/chrome-extension-obscura/issues
Supported Languages en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Obscura",
    "description": "Window tint for the web.",
    "version": "3.3.1",
    "icons": {
        "128": "icons\/icon-128.png",
        "64": "icons\/icon-64.png",
        "48": "icons\/icon-48.png",
        "32": "icons\/icon-32.png"
    },
    "author": "Alex Shroyer",
    "browser_action": {
        "default_title": "obscura",
        "default_popup": "popup.html"
    },
    "permissions": [
        "storage"
    ],
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "run_at": "document_start",
            "js": [
                "content.js"
            ]
        }
    ]
}