content scripts google chrome extensions 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"]
}
],