addedInput schema / properties / default_options / properties / request_overrides
Added value: +{
+ "description": "An array of request rules. Use `action: \"block\"` with a `url` wildcard pattern (using `*`) and/or `resource_types` as an array of resource names, such as `image`, `script`, or `xhr`. Both matchers must match when supplied together; any matching block rule blocks the request. Omitted, `null`, or `[]` adds no overrides. Requires a paid plan. Accepts a JSON array in JSON requests or a JSON-encoded array string in form requests. Maximum 100 rules and 512 characters per URL pattern. Each block rule requires a nonempty URL pattern or at least one resource type; supplied matchers cannot be empty. Not supported in query strings.",
+ "items": {
+ "anyOf": [
+ {
+ "properties": {
+ "action": {
+ "const": "block"
+ },
+ "resource_types": {
+ "description": "Resource types to match, supplied as an array of names, such as image, script, xhr, or fetch. Any listed type may match. When url is also supplied, it must match too.",
+ "items": {
+ "enum": [
+ "beacon",
+ "document",
+ "stylesheet",
+ "image",
+ "image_set",
+ "media",
+ "font",
+ "script",
+ "text_track",
+ "xhr",
+ "fetch",
+ "event_source",
+ "manifest",
+ "ping",
+ "img",
+ "other"
+ ],
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "url": {
+ "description": "URL wildcard pattern to match, using * for any sequence of characters. When resource_types is also supplied, both matchers must match.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ }
+ }
+ ],
+ "description": "A browser request override. The action discriminator selects the rule type; currently only block is supported.",
+ "required": [
+ "action"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+}
addedInput schema / properties / variations / items / properties / request_overrides
Added value: +{
+ "description": "An array of request rules. Use `action: \"block\"` with a `url` wildcard pattern (using `*`) and/or `resource_types` as an array of resource names, such as `image`, `script`, or `xhr`. Both matchers must match when supplied together; any matching block rule blocks the request. Omitted, `null`, or `[]` adds no overrides. Requires a paid plan. Accepts a JSON array in JSON requests or a JSON-encoded array string in form requests. Maximum 100 rules and 512 characters per URL pattern. Each block rule requires a nonempty URL pattern or at least one resource type; supplied matchers cannot be empty. Not supported in query strings.",
+ "items": {
+ "anyOf": [
+ {
+ "properties": {
+ "action": {
+ "const": "block"
+ },
+ "resource_types": {
+ "description": "Resource types to match, supplied as an array of names, such as image, script, xhr, or fetch. Any listed type may match. When url is also supplied, it must match too.",
+ "items": {
+ "enum": [
+ "beacon",
+ "document",
+ "stylesheet",
+ "image",
+ "image_set",
+ "media",
+ "font",
+ "script",
+ "text_track",
+ "xhr",
+ "fetch",
+ "event_source",
+ "manifest",
+ "ping",
+ "img",
+ "other"
+ ],
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "url": {
+ "description": "URL wildcard pattern to match, using * for any sequence of characters. When resource_types is also supplied, both matchers must match.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ }
+ }
+ ],
+ "description": "A browser request override. The action discriminator selects the rule type; currently only block is supported.",
+ "required": [
+ "action"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+}