From 5c64ef717496a938e744b04a6e9727e78ec63fc6 Mon Sep 17 00:00:00 2001 From: MasterKia Date: Sat, 29 Jul 2023 19:05:23 +0330 Subject: [PATCH] Add stackNeedle to json-prune --- Resources-Library.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Resources-Library.md b/Resources-Library.md index 09f5cc1..3f84e93 100644 --- a/Resources-Library.md +++ b/Resources-Library.md @@ -379,6 +379,10 @@ Parameters: - string, a list of space-separated properties which must be all present for the pruning to occur; OR - string/_regular expression_, for logging purposes, matching in stringified JSON payloads (New in [1.27.0](https://github.com/gorhill/uBlock/commit/578594bbd7c545b62f18267d640a605f8e07a53a)) +Tokens: + - `log, 1`: enable logging capabilites + - `stackNeedle, value`: string or regular expression that must match the current function call stack trace (New in [1.51.1b5](https://github.com/gorhill/uBlock/commit/4649ae4d78)) + A property in a list of properties can be a chain of properties, example: `adpath.url.first`. After [1.28.0](https://github.com/gorhill/uBlock/commit/f433932d8602230539d3408e9946d4d70b40306c), two special _"wildcard tokens"_ have been added: