Saltar al contenido principal

Objeto WebRequestFilter

  • urls string[] - Array of URL patterns used to include requests that match these patterns. Use the pattern <all_urls> to match all URLs.
  • excludeUrls string[] (optional) - Array of URL patterns used to exclude requests that match these patterns.
  • types string[] (opcional) - Array de tipos que se utilizarán para filtrar las solicitudes que no coinciden con los tipos. Cuando no se especifica, se emparejarán todos los tipos. Puede ser mainFrame, subFrame, stylesheet, script, image, font, object, xhr, ping, cspReport, media o webSocket.