chrome extension manifest content scripts matches all code example
Example: google chrome extensions content scripts matches
in your manifest.json:
"content_scripts": [
{
"matches": ["http://*.nytimes.com/*"],
"css": ["myStyles.css"],
"js": ["contentScript.js"]
}
],