diff --git a/Resources-Library.md b/Resources-Library.md
index 0cd735b..2609408 100644
--- a/Resources-Library.md
+++ b/Resources-Library.md
@@ -766,7 +766,6 @@ Tokens:
Example of usage:
- `alliptvlinks.com##+js(trusted-replace-argument, MutationObserver, 0, noopFunc)`
-[Documentation to be completed]
***
@@ -1326,6 +1325,9 @@ Tokens:
- "how": optional, string, one of the following:
- `abort` – default, aborts the call by throwing an error,
- `prevent` – replaces the method call with the call of an empty function.
+ - `debug` – triggers a `debugger` statement and the target
+method is not suppressed. Useful to find out how the method is
+being called by the page's code.
- "stack": optional, string or regular expression that must match the current function call stack trace.
Examples:
@@ -1348,7 +1350,6 @@ example.org##+js(trusted-suppress-native-method, sessionStorage.setItem, ' |"ite
Also see: [AdGuard `trusted-suppress-native-method`](https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-trusted-scriptlets.md#trusted-suppress-native-method)
-[Documentation to be completed]
***
@@ -1361,23 +1362,25 @@ Sets a cookie with the specified name, value, and path.
Parameters:
- required, cookie name to be set
- required, cookie value; possible values:
- - number: `>= 0 && <= 32767` (`<= 15` up to [1.56.1b18](https://github.com/gorhill/uBlock/commit/9146134874050ee50a11e25f31034a2416cf5988))
+ - number: `>= -32767 && <= 32767` (`<= 15` up to [1.56.1b18](https://github.com/gorhill/uBlock/commit/9146134874050ee50a11e25f31034a2416cf5988), `>= 0` up to [1.61.1b0](https://github.com/gorhill/uBlock/commit/e613282698167feda708e62a44b65d44dd528f06))
- one of the predefined constants (in any case variation):
- `accept` / `reject`,
- `accepted`2 / `rejected`2 / `notaccepted`2,
- - `allow` / `deny`,
- - `allowed`2 / `disallow`2,
+ - `allow` / `disallow`2 / `deny`,
+ - `allowed`2 / `denied`,
+ - `approved`5 / `disapproved`5,
+ - `checked`8 / `unchecked`8,
+ - `dismiss` / `dismissed`,
- `enable`2 / `disable`2,
- `enabled`2 / `disabled`2,
+ - `essential`7 / `nonessential`7,
+ - `forbidden`9 / `forever`9,
+ - `hide`6 / `hidden`6,
+ - `necessary`4 / `required`4,
- `ok`,
- - `on`1 / `off`1
+ - `on`1 / `off`1,
- `true` / `t`3 / `false` / `f`3,
- - `yes` / `y` / `no` / `n`,
- - `necessary`4 / `required`4
- - `approved`5 / `disapproved`5
- - `hide`6 / `hidden`6
- - `essential`7 / `nonessential`7
- - `checked`8 / `unchecked`8
+ - `yes` / `y` / `no` / `n`
- optional, cookie path, defaults to /; possible values:
- `/`: root path
@@ -1484,7 +1487,7 @@ Set a local/session storage entry to a specific, allowed value. Scriptlet won't
- `accept`, `reject` [1.57.3b9](https://github.com/gorhill/uBlock/commit/363ad6795c6fdbc42bf9aae468f1cb81bd990ab0)
- `accepted`, `rejected` [1.57.3b9](https://github.com/gorhill/uBlock/commit/363ad6795c6fdbc42bf9aae468f1cb81bd990ab0)
- `allowed`, `denied` [1.59.1b5](https://github.com/gorhill/uBlock/commit/41c2258f91)
- - any from [`set-cookie`](#set-cookiejs-) 1.59.1b5 ([79e10323ad](https://github.com/gorhill/uBlock/commit/79e10323ad))
+ - any from [`set-cookie`](#set-cookiejs-) [1.59.1b5](https://github.com/gorhill/uBlock/commit/79e10323ad)
- `{}`: empty object
- `[]`: empty array
- `""`
@@ -1553,7 +1556,6 @@ If no pattern is provided, the whole cache is removed.
Reference: https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage
-[Documentation to be completed]
***
@@ -1627,7 +1629,6 @@ Examples:
References: https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext
-[Documentation to be completed]
***
@@ -1705,12 +1706,14 @@ Improvements:
- 1.26.0 ([one](https://github.com/gorhill/uBlock/commit/b27848a060eee961e2403192097448467b3bc7b5), [two](https://github.com/gorhill/uBlock/commit/0f33f2386d147e4930b402a07418da670524e43f)),
if second argument is present and a valid integer value, the defuser will return a valid window object even though no popup window is opened. The returned window object will cease to be valid after the specified number of seconds. If not present, no window will be opened and the scriptlet will return `null`.
-Use third parameter (set it to `log`) to log `window.open()` parameters, and log access to attributes of returned `window` object.
+If the first argument is set to the special value `debug` *and* the logger is opened, the scriptlet will trigger a `debugger` statement and the prevention will not occur.
Parameters:
- optional, string/_regular expression_, prefixed by `!` for negation, matching in all parameters passed to _`window.open()`_ (all the arguments are joined as a single space-spearated string, and the result is used as the target for matching the pattern, new in [1.50.1b2](https://github.com/gorhill/uBlock/commit/0bd4b600cf78a988b8ed677780ec258518822663)),
- optional, positive decimal integer, number of seconds after returned `window` object will be invalidated.
- - optional, `obj`: Use an `object` element instead of `iframe` element (default) as a decoy to be used in place of a popup window, when the page requires a valid `window` instance to be returned. Since [1.59.1b9](https://github.com/gorhill/uBlock/commit/7f11d6216eb866fdbec4c13d9766b76432908f4f), `blank` can be used as decoy to open a real `about:blank` tab and close it after the specified delay.
+ - optional, possible values:
+ - `obj`: Use an `object` element instead of `iframe` element (default) as a decoy to be used in place of a popup window, when the page requires a valid `window` instance to be returned.
+ - `blank`: Replace the `url` parameter with `about:blank`. [1.59.1b9](https://github.com/gorhill/uBlock/commit/7f11d6216eb866fdbec4c13d9766b76432908f4f)
Tokens:
- ~~`log, 1`~~: Cause the scriptlet to log information regarding how `window.open()` is used by the page on which the scriptlet is used.