简体   繁体   English

Chrome扩展程序安装“清单无效”

[英]Chrome Extension installation “Invalid manifest”

I have a Chrome extension that uploads to the Chrome store just fine. 我有一个Chrome扩展程序,可以很好地上传到Chrome商店。 My current manifest file is posted below. 我当前的清单文件发布在下面。 It is saved in ANSI format as suggested in previous posts with this issue. 如以前有关此问题的文章中所建议的那样,将其保存为ANSI格式。 This is the third variant and they all produce the same error message when I try to install: "Invalid manifest". 这是第三个变体,当我尝试安装它们时,它们都会产生相同的错误消息:“无效清单”。 No real information. 没有真实信息。 I have tried waiting 24 hours for it to propagate properly as suggested in previous posts, but to no effect. 我已经尝试等待24小时才能如先前帖子中所建议的那样正确传播,但没有任何效果。

Has anyone encountered this issue before? 有人遇到过这个问题吗?

The extension is here: https://chrome.google.com/webstore/detail/bamboo-dialog-fixer/oelecpkhobhmbbdmehaoonkbkdodhdio?hl=en-US 扩展程序位于: https : //chrome.google.com/webstore/detail/bamboo-dialog-fixer/oelecpkhobhmbbdmehaoonkbkdodhdio?hl=zh-CN

{
  "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/*"
  }
}

Thanks wOxxOm. 谢谢wOxxOm。 I must have screwed up, even though I thought I had it right on a previous occasion. 即使我以前曾认为自己做对了,但我一定搞砸了。 I rewrote the file as below and uploaded and it works now. 我将文件重写如下并上传,现在可以使用了。

{
  "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/*"]
  }
  ]
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM