更新时间:2021-06-30 23:21:08
清单JSON文件。像这样:
Did you allow it in your manifest JSON file. Something like this:
manifest.json
$ b
manifest.json
{
"name": "My Extension",
"content_scripts": [{
"js": ["jquery.min.js", "YourJavaScriptFile.js"],
"matches": ["http://*/*", "https://*/*"]
}]
}
但只是给出了基本的想法。
There are required fields I left out, but just giving the basic idea.