默认情况下在所有标签上加载Chrome扩展程序

时间:2019-01-29 18:49:38

标签: javascript jquery google-chrome-extension

默认情况下是否有办法在所有标签上加载Chrome扩展程序?这样chrome扩展程序具有永久覆盖?这是清单文件的一部分:

  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [ "scripts/jquery-3.3.1.min.js", "scripts/content.js", "scripts/sidd.js" ],
      "css": [ "styles/sidd.css" ]
    },
    {
      "matches": [ "https://www.google.com/*" ],
      "js": [ "scripts/jquery-3.3.1.min.js", "scripts/google.js" ],
      "run_at": "document_start"
    }, 
    {
      "matches": [ "https://www.youtube.com/watch?v=Zg6c3cyKk30" ],
      "js": [ "scripts/youtube.js" ]
    }
  ],

0 个答案:

没有答案