mirror of
https://github.com/gorhill/uBlock.git
synced 2024-07-03 02:37:21 +02:00
Updated Resources Library (markdown)
parent
b6bf7edc9b
commit
35e309be54
|
@ -392,7 +392,7 @@ property to remove is an element in an array.
|
||||||
|
|
||||||
+js(json-prune, playlist.[].adserver)
|
+js(json-prune, playlist.[].adserver)
|
||||||
|
|
||||||
- `*`: will iterate through all own properties of an object. For example, to deal with hard to predict random-named properties.
|
- `*`: iterate through all own properties of an object. For example, to deal with hard to predict random-named properties.
|
||||||
To remove `adserver` object properties from inside _randomly named_ objects in following JSON payload:
|
To remove `adserver` object properties from inside _randomly named_ objects in following JSON payload:
|
||||||
|
|
||||||
{"playlist": {"random1": {"adserver": "first"}, "randomB": {"adserver": "second"}}}
|
{"playlist": {"random1": {"adserver": "first"}, "randomB": {"adserver": "second"}}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user