High Contrast Twitch.tv Chat Names

selectively turn low-contrast Twitch chat names black

什麼是High Contrast Twitch.tv Chat Names?

High Contrast Twitch.tv Chat Names是由rsheldiii開發的Chrome擴展程式,該擴展的主要功能是“selectively turn low-contrast Twitch chat names black”。

下載High Contrast Twitch.tv Chat Names擴展crx文件

下載High Contrast Twitch.tv Chat Names擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        changes all Twitch chat names and messages to black if their contrast ratio is under a certain threshold.

contrast ratio and luminosity definitions taken from the W3 specifications and recommendations on high contrast, legible text.

currently this application is in alpha. known issues:

* changing names is done with a setInterval, as attaching events to the DOM through chrome extensions is difficult. this is resource intensive (much in the same way that throwing away the last funyun is wasteful) but may be the best route, as
* posting in chat will clear all changed names. All names lose their class definitions, meaning the chat may regen when you post

proposed updates:
* instead of black, change names to the highest contrast color opposing the background color (in the case of better twitch tv and any other plugin that could change the background color). This has already been started, as the background color used to compare against name color is dynamic
* maybe find a better legibility rating algorithm, as while the W3 recommendation is a standard, it kinda sucks                    

擴展基本資訊

名稱 High Contrast Twitch.tv Chat Names High Contrast Twitch.tv Chat Names
ID dfclfmljnijcbpacbehbbdohndjgmkjb
官方網址 https://chrome.google.com/webstore/detail/high-contrast-twitchtv-ch/dfclfmljnijcbpacbehbbdohndjgmkjb
簡介 selectively turn low-contrast Twitch chat names black
檔案大小 6.61 KB
安裝次數 63
目前版本 0.0.0.1
更新時間 2014-06-19
上架時間 2014-06-19
評分 4.67/5 共 3 次評分
開發者 rsheldiii
付費類型 free
支援的語言 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "High Contrast Twitch.tv Chat Names",
    "description": "selectively turn low-contrast Twitch chat names black",
    "version": "0.0.0.1",
    "permissions": [
        "activeTab",
        "storage"
    ],
    "background": {
        "scripts": [
            "background.js"
        ]
    },
    "content_scripts": [
        {
            "matches": [
                "http:\/\/www.twitch.tv\/*"
            ],
            "js": [
                "inject.js"
            ],
            "css": [
                "inject.css"
            ]
        }
    ],
    "browser_action": {
        "default_icon": "icon.png",
        "default_popup": "options.html"
    },
    "options_page": "options.html",
    "manifest_version": 2
}