无法加载JavaScript' content_script.js'用于内容脚本

时间:2018-05-28 11:02:54

标签: javascript json google-chrome manifest

我有一个简单的manifest.json,由于某些原因,我一添加content_scripts 就会一直遇到此错误。知道我做错了吗?

{
"manifest_version": 2,
"version": "0.0.1",
"name": "My Extension",
"description": "A plain text description",
"content_scripts": [
  {
    "matches": ["https://messenger.com/*"],
    "js": ["content_script.js"]
  }
],
"options_page": "options.html",
"options_ui": {
  "chrome_style": true,
  "page": "options.html"
},
"permissions": [
  "tabs",
  "activeTab"


  ]
  }

0 个答案:

没有答案