允许网址参数 - 内容脚本

时间:2017-05-14 04:44:04

标签: javascript google-chrome-extension content-script manifest.json

我正在使用内容脚本,在我的清单中,我添加了这样的网址并且工作正常:

"matches": {
   "http://example.com/profile/*",
   "http://example.com/profile/*"
}

但是,我实际上要尝试实现的是允许网址中的参数,因此它仅适用于"http://example.com/profile/hobbies?*"但不适用于"http://example.com/profile/music?*"

有没有办法在匹配部分添加这种权限?

0 个答案:

没有答案
相关问题