我正在尝试使用开发人员仪表板将应用程序上传到 chrome 网上商店。上传 ZIP 文件后,我收到此错误
An error occurred: Failed to process your item.
The field permissions.http://webhvd.dincloud.com/ is not allowed in manifest.
The field content_scripts is not allowed in manifest.
我已经使用 chrome 开发者模式测试了该应用程序,并且运行良好。没有错误。这是清单文件:
{
"app": {
"launch": {
"local_path": "main.html"
}
},
"content_scripts": [ {
"js": [ "jsfile.js" ],
"matches": [ "http://*.example.com/*" ]
} ],
"content_security_policy": "default-src 'self'; script-src 'self' http://*.examplecom; style-src 'self' http://sub.example.com; img-src 'self' http://*.example.com; font-src *; connect-src 'self' http://sub.example.com ",
"default_locale": "en",
"description": "__MSG_PRODUCT_DESCRIPTION__",
"icons": {
"128": "icon128.webp",
"16": "icon16.webp",
"48": "icon48.webp"
},
"manifest_version": 2,
"name": "__MSG_PRODUCT_NAME__",
"permissions": [ "http://sub.example.com/", "storage", "clipboardRead", "clipboardWrite" ],
"version": "1.2"
}
任何帮助将不胜感激。