1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00
uBlock/assets
Raymond Hill f8394ff2d5
Add variable argument fetchPropsToMatch to json-prune scriptlet
`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.
2023-08-08 10:18:34 -04:00
..
resources Add variable argument fetchPropsToMatch to json-prune scriptlet 2023-08-08 10:18:34 -04:00
assets.dev.json Update main URL of urlhaus lists 2023-08-06 09:19:35 -04:00
assets.json Update main URL of urlhaus lists 2023-08-06 09:19:35 -04:00