GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for declarativeNetRequest.Rule.

Developer library 6

declarative_net_request

"ruleset", "enabled": true, "path": "rules.json" }] }</pre > </td> </tr> </tbody> </table> Specify static rulesets for use with declarativeNetRequest. See [static ruleset limits](/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest#static_ruleset_limits) for information on the number of rulesets, enabled rulesets, and rules that can be specified. See <a href="/en-US/docs/Mozi

Intercept HTTP requests

Two APIs are available for intercepting HTTP requests: webRequest and declarativeNetRequest. The webRequest API intercepts requests by adding event listeners to the various stages of an HTTP request. The extension's listeners can inspect and modify requests programmatically: getting access to request and response headers and bodies, canceling requests, and redirecting them. Use `webRequest` when your extension needs

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.Rule

the [manifest.json's `declarative_net_request` key](/docs/Mozilla/Add-ons/WebExtensions/manifest.json/declarative_net_request), or more dynamically through the declarativeNetRequest.updateDynamicRules or declarativeNetRequest.updateSessionRules methods. See [Rules](/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest#rules) on the API overview page for more information about rules. ## Type Values of this

declarativeNetRequest.MAX_NUMBER_OF_SESSION_RULES

The maximum number of session-scoped rules an extension can add. This limit is: - in Firefox: `5000` - in Chrome: `5000` h2 ## Browser compatibility <!-- // Copyright 2015 The Chromium Authors. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code m

declarativeNetRequest.MAX_NUMBER_OF_DYNAMIC_RULES

The maximum number of dynamic rules an extension can add. This limit is: - in Firefox: `5000` - in Chrome: `30000` h2 ## Browser compatibility <!-- // Copyright 2015 The Chromium Authors. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must re

JSON results · Services directory