From 7f6762d65c7315ff8b68f9beb5003cdf4b286218 Mon Sep 17 00:00:00 2001 From: D4niloMR <70459964+D4niloMR@users.noreply.github.com> Date: Mon, 23 Sep 2024 17:38:43 -0300 Subject: [PATCH] update no-window-open-if documentation --- Resources-Library.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources-Library.md b/Resources-Library.md index 68f29fc..491756d 100644 --- a/Resources-Library.md +++ b/Resources-Library.md @@ -1702,7 +1702,7 @@ Use third parameter (set it to `log`) to log `window.open()` parameters, and log 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. + - 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. Tokens: - ~~`log, 1`~~: Cause the scriptlet to log information regarding how `window.open()` is used by the page on which the scriptlet is used.