メインコンテンツへ飛ぶ

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[] (任意) - タイプの配列で、このタイプにマッチしないリクエストを除外する処理に使用されます。 指定しない場合は、すべてのタイプにマッチします。 mainFrame, subFrame, stylesheet, script, image, font, object, xhr, ping, cspReport, media, webSocket のいずれかにできます。