它在content_scripts匹配中不起作用!
有没有其他方法来实现呢?
发布于 2013-05-17 21:55:46
您可以通过设置matches: "<all_urls>"并通过将include_globs指令设置为*://foo.*/*来缩小范围。
然而,,请注意它可能并不完全符合您的要求。以下是一些与您的glob模式*://foo.*/*相匹配的URL
http://foo.com/bar
http://foo.google.com/
http://foo.any.domain.that.startswith.that.subdomain.com/bar/egg此外,如果你在最后有一个固定的字符串,比如*://foo.*/bar,你可能会遇到更多的麻烦:
http://foo.com/bar
http://foo.domain.matched.by.the.star.com/this/path/is/matched/by/the/star/bar发布于 2013-05-17 21:41:43
根据Match patterns doc的说法,这不受支持。
https://stackoverflow.com/questions/16610519
复制相似问题