mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
minor updates
parent
4139ff5070
commit
88b74ec61a
1 changed files with 4 additions and 2 deletions
|
|
@ -1543,7 +1543,7 @@ Sets a cookie with the specified name, value, and path.
|
|||
Parameters:
|
||||
- required, cookie name to be set
|
||||
- required, cookie value; possible values:
|
||||
- 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))
|
||||
- decimal integer: `>= -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`<sup>2</sup> / `rejected`<sup>2</sup> / `notaccepted`<sup>2</sup>,
|
||||
|
|
@ -1895,8 +1895,10 @@ if second argument is present and a valid integer value, the defuser will return
|
|||
|
||||
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.
|
||||
|
||||
When used without parameters, will log calls to _`window.open()`_ to the logger.
|
||||
|
||||
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, 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)), if not provided, all calls to `window.open()` are prevented.
|
||||
- optional, positive decimal integer, number of seconds after returned `window` object will be invalidated.
|
||||
- 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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue