Advance Filters

Enhance your source conditions with additional filters. These can be accessed using the filters button next to the input field

Supported Options

Filter options vary depending on the type of rule you're working with. Here's a breakdown of what's available:

Common Filters (Available for Most Rules):

  • Page Domain Name: Limit targeting to requests originating from a specific domain. This is especially useful for distinguishing between network calls made from different websites, such as CDN calls shared across multiple domains.

  • Resource Type: Specify the type of resource to limit matching to particular requests. For instance, path-level matching can apply to both CSS and JavaScript files, but advanced filters allow narrowing it down to only CSS or JavaScript as needed.

  • Request Method: Filter based on the HTTP method (e.g., GET, POST, OPTIONS). For example, two requests can have the same path but behave differently based on the method used. An API call to a resource with the GET method retrieves the resource details, while a PATCH call updates the resource.

Modify Request Body & Modify API Response

Only the Request Method filter is available for these rule types.
Use it to precisely target requests based on how they're made.

Insert Script Rule

Resource Type
Specify where the script should be injected:

  • Main Document: Insert into the main page

  • iFrame Document: Inject into an embedded iframe

Updated on