Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
3 results across 6 corpora for declarativeNetRequest.HeaderInfo.
Developer library 3
declarativeNetRequest
e and modify network requests without notifying extensions about individual network requests. ## Permissions To use this API, an extension must request the `"declarativeNetRequest"` or `"declarativeNetRequestWithHostAccess"` [permission](/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions) in its [`manifest.json`](/docs/Mozilla/Add-ons/WebExtensions/manifest.json) file. The `"declarativeNetRequest"` permi
declarativeNetRequest.HeaderInfo
The response header to match for the request, declared in the [`rule.condition.excludedResponseHeaders`](/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest/RuleCondition#excludedresponseheaders) array or [`rule.condition.responseHeaders`](/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest/RuleCondition#responseheaders) array. If specified, the array must be non-empty. When used in the condition
declarativeNetRequest.RuleCondition
Details of the condition that determines whether a rule matches a request, as the `condition` property of a declarativeNetRequest.Rule. ## Type Values of this type are objects. They contain these properties: - `domainType` - : A `string`. Specifies whether the network request is first-party or third-party. The request is considered first-party if it's for the same domain as the document or subdocument that init