[英]Exclude matches in Chrome extension manifest
In content_script
options of my extension's manifest.json
: 在我的扩展程序
manifest.json
content_script
选项中:
{
"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"
]
}
I want these scripts run in subdomain of pipedrive excluding the main homepage ( www.pipedrive.com
), both exclude_globs
and exclude_matches
do not work, these scripts still run in www.pipedrive.com
. 我希望这些脚本在不包括主页(
www.pipedrive.com
)的pipedrive子域中运行, exclude_globs
和exclude_matches
均不起作用,这些脚本仍在www.pipedrive.com
运行。 How can I make it? 我该怎么做?
我在exclude_globs
缺少://
之前的*
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.