mirror of https://github.com/gorhill/uBlock.git
f8394ff2d5
`fetchPropsToMatch` is an optional variable argument. If provided, the scriplet will take effect only when the JSON data is obtained through `Response.json()` and if there is a match with the value of `fetchPropsToMatch` and the properties of the `Response` instance. Examples of usage: ...##+js(json-prune, ads, , , fetchPropsToMatch, ?param=) ...##+js(json-prune, ads, , , fetchPropsToMatch, url:?param= method:get) The optional variable argument `fetchPropsToMatch` acts as an additional narrowing condition to fulfill before the JSON data is pruned. |
||
---|---|---|
.. | ||
scriptlets.js |