Zum Hauptteil springen

WebRequestFilter Object

  • 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[] (optional) - Array von Typen, die verwendet werden, um die Anfragen herauszufiltern, die nicht den Typen entsprechen. Wenn nicht angegeben, werden alle Typen abgeglichen. Kann mainFrame, subFrame, stylesheet, script, image, font, object, xhr, ping, cspReport, media oder webSocket sein.