From e727be6fb3a1b5b4e9aa89eebafef7274848dc86 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 20 Jul 2024 11:03:43 -0400 Subject: [PATCH] Updated Resources Library (markdown) --- Resources-Library.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Resources-Library.md b/Resources-Library.md index a1a6b0a..bf54ed3 100644 --- a/Resources-Library.md +++ b/Resources-Library.md @@ -1023,7 +1023,9 @@ https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeName Optionally, extra pairs of parameters (tokens) can be used to modify the behavior of the scriptlet. Tokens: - - `condition, pattern`: A string or regex which must be found in the text content of the node + - `includes, pattern`: A string or regex which must be found in the text content of the node +in order for the removing to occur + - `excludes, pattern`: A string or regex which must **not** be found in the text content of the node in order for the removing to occur - `sedCount, n`: This will cause the scriptlet to stop after `n` instances of removing. Since a mutation oberver is used by the scriptlet, it's advised to stop it whenever it becomes pointless. Default to zero, which means the scriptlet never stops - `stay, 1`: Force the scriptlet to stay at work forever