Google chrome extension 内容脚本赢得';我跑不了?

Google chrome extension 内容脚本赢得';我跑不了?,google-chrome-extension,Google Chrome Extension,这是我的manifest.json: { "name": "arbitrary", "version": "1.0", "description": "arbitrary", "content_scripts": [ { "matches": ["http://*.gmail.com/*", "https://*.gmail.com/*"], "js": ["contentScript.js"]

这是我的
manifest.json

  {
    "name": "arbitrary",
    "version": "1.0",
    "description": "arbitrary",
    "content_scripts": [ 
        {
            "matches": ["http://*.gmail.com/*", "https://*.gmail.com/*"],
            "js": ["contentScript.js"]
        }
    ],
    "manifest_version": 2
  }
这是我的内容脚本,
contentScript.js

alert("hello!");
console.log("hi there");
我已经加载了未打包的扩展,但是当我打开gmail标签时,代码没有运行。没有警报或控制台消息


我遗漏了什么?

Gmail.com
基本上是一个真正域名的虚荣URL,
mail.google.com
。我必须相应地更改
manifest.json
中匹配的URL