9951 explained code solutions for 126 technologies

chrome-extensionHow to add jQuery support to content script in Chrome extension.

 "name": "My",
 // ...
 "content_scripts": [
     "matches": ["*://*/*"],
     "js": ["jquery.js", "script.js"]
 // ...
}ctrl + c
"name": "My"

name of the extension for manifest.json


on what pages should we load content script


load content script for any page


downloaded jquery file


name of the script file to load (should be placed in the same dir as manifest.json)