2

content_script我的扩展选项中manifest.json

{
            "matches": [
                "*://*.pipedrive.com/*"
            ],
            "exclude_globs": [
                "://www.pipedrive.com/*"
            ],
            "css": [
                "content/callbox.css",
                "content/pipedrive/pipedrive.css"
            ],
            "js": [
                "assets/js/jssip-2.0.6.min.js",
                "content/message.js",
                "content/callbox.js",
                "content/pipedrive/pipedrive.js"
            ]
        }

www.pipedrive.com我希望这些脚本在除主主页( )之外的 pipedrive 的子域中运行,两者exclude_globsexclude_matches不起作用,这些脚本仍然在www.pipedrive.com. 我怎样才能做到?

4

1 回答 1

3

我缺乏*之前://exclude_globs

于 2018-04-27T07:14:01.627 回答