简体   繁体   中英

Chrome Extension installation “Invalid manifest”

I have a Chrome extension that uploads to the Chrome store just fine. My current manifest file is posted below. It is saved in ANSI format as suggested in previous posts with this issue. 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.

Has anyone encountered this issue before?

The extension is here: https://chrome.google.com/webstore/detail/bamboo-dialog-fixer/oelecpkhobhmbbdmehaoonkbkdodhdio?hl=en-US

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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