2948 explained code solutions for 75 technologies

chrome-extensionLoad content script for specific pages

 "name": "My",
 // ...
 "content_scripts": [
     "matches": ["https://example.org/*"],
     "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 all pages of example.org domain


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