0

我确定我尝试过使用/不使用 BOM,但我仍然收到此错误: UT8 Chrome 扩展错误

{
  "manifest_version": 2,

  "default_locale": "en",

  "name":           "__MSG_ext_name__",
  "description":    "__MSG_ext_description__",
  "version":        "1.6.0",

  "icons": {
    "16":  "icon_16.png",
    "48":  "icon_48.png",
    "128": "icon_128.png"
  },

  "browser_action": {
    "default_icon":  "icon_19.png",
    "default_popup": "popup.html"
  },

  "background": {
    "page": "background.html"
  },

  "options_page": "options.html",

  "permissions": [
    "tabs"
  ],

  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "scripts/content.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ]
}
4

1 回答 1

0

我使用了一个程序将我所有的文件批量转换为 UTF-8,现在它可以工作了,我认为正如方觉所说,问题出在清单之外的另一个文件上。

于 2013-04-20T10:32:17.363 回答