Assigns the body element a class value of the website's domain.

什麼是?

是由https://www.gible.net開發的Chrome擴展程式,該擴展的主要功能是“Assigns the body element a class value of the website's domain.”。

擴展截圖

screenshot

下載擴展crx文件

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

擴展使用說明

                        NOTE THAT AS OF v33 CHROME NO LONGER SUPPORTS THE CUSTOM.CSS DISCUSSED HERE. I'm leaving this extension up anyway since ya'll are still using it. Maybe it's useful for something else as well. (There's still no site selectors in CSS)

Assigns the body element of each page(including any frames) a class value of the website's domain. e.g.  

The purpose of this is to allow website-specific CSS selectors in custom.css (user stylesheet).

CSS selectors use a period to signify classes so you'll need to escape them with a backslash. eg:
.www\.google\.com * {font-family: "Comic Sans MS", cursive, sans-serif !important;}


blah blah pick your disclaimer not really using your data etc

1.5 Updates:
* New manifest version. (no actual changes)
1.4 Updates:
* iframes now get the class of their src domain as well as the document domain
* removed flickr access requirement left over from the example manifest.json                    

擴展基本資訊

名稱 <body class='domain'>
ID ppplcafndgbjbiefmgpkeepmcjaccebn
官方網址 https://chromewebstore.google.com/detail/%3Cbody-classdomain%3E/ppplcafndgbjbiefmgpkeepmcjaccebn
簡介 Assigns the body element a class value of the website's domain.
檔案大小 40.39 KB
安裝次數 13
目前版本 1.5
更新時間 2015-06-17
上架時間 2015-06-16
評分 5.00/5 共 1 次評分
開發者 https://www.gible.net
付費類型 free
支援的語言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "",
    "version": "1.5",
    "description": "Assigns the body element a class value of the website's domain.",
    "manifest_version": 2,
    "icons": {
        "48": "icon48.png",
        "128": "icon128.png"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                "bodyclassdomain.js"
            ]
        }
    ]
}