Updated Resources Library (markdown)

D4niloMR 2024-11-18 18:28:00 -03:00
parent b9f1b582ac
commit 2718b1fde4

@ -463,13 +463,13 @@ as argument (hence "inbound").
Parameters:
- The name of the property to trap. Must be a function, and must
- required, the name of the property to trap. Must be a function, and must
exist when the scriptlet tries to install the trap.
- The position of the object to prune in the argument list when
- required, the position of the object to prune in the argument list when
the trapped function is called. The position is 1-based and
must be an integer greater than 0.
- The properties to prune (as with [`json-prune`](#json-prunejs-))
- The properties which must all be present for pruning to occur
- required, the properties to prune (as with [`json-prune`](#json-prunejs-))
- optional, the properties which must all be present for pruning to occur
(as with [`json-prune`](#json-prunejs-))
Varargs:
@ -504,17 +504,17 @@ Also see:
New in [1.52.3rc3](https://github.com/gorhill/uBlock/commit/86f0d6dd978b79a34ffa257825539fb4446759a4)
Essentially a complement of [`trusted-prune-inbound-object`](trusted-prune-inbound-objectjs-) added in [1.52.3rc0](https://github.com/gorhill/uBlock/commit/1c9da227d714250c0b6319e2f635998f9869a70d)
Essentially a complement of [`trusted-prune-inbound-object`](#trusted-prune-inbound-objectjs-) added in [1.52.3rc0](https://github.com/gorhill/uBlock/commit/1c9da227d714250c0b6319e2f635998f9869a70d)
To perform object pruning on any object returned synchronously by
any given call.
Parameters:
- The name of the property to trap. Must be a function, and must
- required, the name of the property to trap. Must be a function, and must
exist when the scriptlet tries to install the trap.
- The properties to prune (as with [`json-prune`](#json-prunejs-))
- The properties which must all be present for pruning to occur
- required, the properties to prune (as with [`json-prune`](#json-prunejs-))
- optional, the properties which must all be present for pruning to occur
(as with [`json-prune`](#json-prunejs-))
The scriptlets `json-prune` and `evaldata-prune` essentially