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