<body class='domain'>

#5 / 1 rate

<body class='domain'>

13 users

2015-06-16

https://www.gible.net

Extension Information

5 star
0%
4 star
0%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Description

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

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