<body class='domain'>

Assigns the body element a class value of the website's domain.
What is <body class='domain'>?
The Chrome extension '<body class='domain'>' assigns the body element of each page a class value of the website's domain. This allows for the usage of website-specific CSS selectors in custom.css (user stylesheet) by escaping periods in the domain name.

Extension stats

Users: 8 ▼ -3
Rating: 5.00 (1)
Version: 1.5 (Last updated: 2015-06-17)
Creation date: 2015-06-16
Risk impact: Low risk impact
Risk likelihood: Low risk likelihood
Manifest version: 2
Size: 41.36K
URLs: Website

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.
Chrome-Stats extension

Extension summary

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. <body class='www.example.org'>

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:
See more

Extension safety

Risk impact

<body class='domain'> requires very minimum permissions.

Risk likelihood

<body class='domain'> has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details

Similar extensions

Here are some Chrome extensions that are similar to <body class='domain'>: