urls
string[] - URL 模式数组,用于包含与这些模式匹配的请求。使用模式 <all_urls>
匹配所有 URL。
excludeUrls
string[] (可选) - URL 模式数组,用于排除与这些模式匹配的请求。
types
string[] (可选) - 用于过滤掉不匹配类型的请求的类型数组。未指定时,将匹配所有类型。可以是 `mainFrame`、`subFrame`、`stylesheet`、`script`、`image`、`font`、`object`、`xhr`、`ping`、`cspReport`、`media` 或 `webSocket`。