Website color coding

Helps to identify which environment you are working in.

什么是Website color coding?

Website color coding是由MPaans开发的Chrome扩展程序,该扩展的主要功能是“Helps to identify which environment you are working in.”。

扩展截图

screenshot
screenshot

下载Website color coding扩展crx文件

下载Website color coding扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        Need to keep track of what environment you are working in? Then this extension is for you! But how, you ask? Let me explain.

Basically, what this extension does is adding some basic HTML elements to your loaded page to help you identify the environment you are working in.

But how does it work?! There are two ways that environments are detected: 

Firstly, by a blanket match of domain names via regular expressions. Going by the default configuration this means that any site you visit that starts with "test." is getting elements added that show you a blue border at the top, and a message at the bottom right saying "Test environment". You can change the matching through the options page.

Secondly, you can specifically assign a domain to an environment by selecting it from the popup menu which you can access by clicking the extension's icon in your browser.

There are quite some options to modify the way you want to see the visual feedback of the environment you are working in. Colorbars can be set on each direction of your page, and the message telling you what environment you are in can be positioned in any corner or border (and rotated if you like).

Oh.. one more nice feature: if a site is detected as being in one of your environments, it will give you a warning if the domain (hostname) will be changed. That will help you with those pesky links on a development site that sneakily directs you to the production site!

I hope you find this useful. If you want to contribute, check out my repository at https://github.com/MPaans/chrome-extension-website-color-coding                    

扩展基本信息

名称 Website color coding Website color coding
ID kepaiegdbfgdhpbgilafmcpjdffepckh
官方URL https://chromewebstore.google.com/detail/website-color-coding/kepaiegdbfgdhpbgilafmcpjdffepckh
简介 Helps to identify which environment you are working in.
文件大小 35.9 KB
安装次数 144
当前版本 1.1.1
更新时间 2019-10-14
上架时间 2019-09-20
评分 5.00/5 共2次评分
开发者 MPaans
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/MPaans/chrome-extension-website-color-coding
帮助页面URL https://github.com/MPaans/chrome-extension-website-color-coding/issues
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Website color coding",
    "version": "1.1.1",
    "description": "Helps to identify which environment you are working in.",
    "icons": {
        "256": "icon.png"
    },
    "background": {
        "scripts": [
            "shared.js",
            "eventpage.js"
        ],
        "persistent": false
    },
    "content_scripts": [
        {
            "matches": [
                "http:\/\/*\/*",
                "https:\/\/*\/*"
            ],
            "js": [
                "shared.js",
                "main.js"
            ],
            "run_at": "document_end"
        }
    ],
    "browser_action": {
        "default_title": "Add color coding to this website",
        "default_icon": "icon.png",
        "default_popup": "popup.html"
    },
    "options_page": "options.html",
    "content_security_policy": "script-src 'self'; object-src 'self'",
    "permissions": [
        "activeTab",
        "storage"
    ]
}