Yeh*_*tan 16 javascript google-chrome-extension
我正在尝试创建新的扩展,但是当我包含JavaScript时我遇到了问题:
{
"name": "<name>",
"version": "1.0",
"description": "<description>",
"default_icon": "icon.png",
"content_scripts": [
{
"matches": ["http://*.com"],
"js": ["script.js"]
}
],
"permissions": [
"http://*.com/"
]
}
Run Code Online (Sandbox Code Playgroud)
我有这个错误:
could not load extension from <path>
Invaild value for 'content_scripts[0].matches[0]':Empty path
Run Code Online (Sandbox Code Playgroud)