Skip to main content

WebRequestFilter 对象

🌐 WebRequestFilter Object

  • urls string[] - 用于包含匹配这些模式的请求的URL 模式数组。使用模式 <all_urls> 可匹配所有 URL。
  • excludeUrls string[](可选)- 用于排除与这些模式匹配的请求的 URL 模式 数组。
  • types string[](可选)- 类型数组,用于筛选不符合类型的请求。如果未指定,则匹配所有类型。可以是 mainFramesubFramestylesheetscriptimagefontobjectxhrpingcspReportmediawebSocket