mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
81b2fcee5d
This extends logging capabilities of `json-prune` scriptlet as follow: ...##+js(json-prune, a, b, stackNeedle, log, [logneedle], logstack, 1) Whereas before, the only way to log `json-prune` usage was to skip providing the property chain: ...##+js(json-prune, , b) Where `b` was the expression to filter out logging output. With the extended logging capabilities, the logging output can be filtered out with `logneedle`, which can be a regex literal. Additionally, to log the stack trace the `stackNeedle` argument must be set to non-empty string. You can use `/.^/` to log the stack trace without matching it. |
||
---|---|---|
.. | ||
resources | ||
assets.dev.json | ||
assets.json |