我有一个Chrome扩展程序,可以很好地上传到Chrome商店。我当前的清单文件发布在下面。它以ANSI格式保存,如此问题的先前帖子中所建议的那样。这是第三个变体,当我尝试安装时它们都会产生相同的错误消息:“Invalid manifest”。没有真实的信息。我已经尝试等待24小时,以便按照之前的帖子的建议正确传播,但是没有效果。
之前有没有人遇到过这个问题?
{
"manifest_version": 2,
"name": "Bamboo dialog fixer",
"version": "1.3",
"description": "This extension makes bamboo popup dialogs such a the performance dialogs fit the width of the screen.",
"icons": {"128": "BambooHR_FullSize.png"},
"content_scripts":
{
"css": "styles.css",
"matches": "https://*.bamboohr.co.uk/*"
}
}
答案 0 :(得分:2)
谢谢wOxxOm。我一定搞砸了,尽管我以前在以前的场合说得对。我重写了下面的文件并上传,现在可以正常工作。
{
"manifest_version": 2,
"name": "Bamboo dialog fixer",
"version": "1.4",
"description": "This extension makes bamboo popup dialogs such a the performance dialogs fit the width of the screen.",
"icons": {"128": "BambooHR_FullSize.png"},
"content_scripts": [
{
"css": ["styles.css"],
"matches": ["https://*.bamboohr.co.uk/*"]
}
]
}