Skip to main content

WebRequestFilter Object

  • urls string[] - Array of URL patterns that will be used to filter out the requests that do not match the URL patterns.
  • types String[] (optional) - Array of types that will be used to filter out the requests that do not match the types. When not specified, all types will be matched. Can be mainFrame, subFrame, stylesheet, script, image, font, object, xhr, ping, cspReport, media or webSocket.