mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-02 15:47:10 +02:00
Update set-cookie predefined constants
parent
f62ffd5996
commit
a62c20314f
@ -936,18 +936,24 @@ Parameters:
|
|||||||
- required, cookie value; possible values:
|
- required, cookie value; possible values:
|
||||||
- number: `>= 0 && <= 15`
|
- number: `>= 0 && <= 15`
|
||||||
- one of the predefined constants (in any case variation):
|
- one of the predefined constants (in any case variation):
|
||||||
- `true`
|
- `accept` / `reject`,
|
||||||
- `false`
|
- `accepted`<sup>2</sup> / `rejected`<sup>2</sup> / `notaccepted`<sup>2</sup>,
|
||||||
- `yes` / `y`
|
- `allow` / `deny`,
|
||||||
- `no` / `n`
|
- `allowed`<sup>2</sup> / `disallow`<sup>2</sup>,
|
||||||
- `ok`
|
- `enable`<sup>2</sup> / `disable`<sup>2</sup>,
|
||||||
- `accept`/ `reject`
|
- `enabled`<sup>2</sup> / `disabled`<sup>2</sup>,
|
||||||
- `allow` / `deny`
|
- `ok`,
|
||||||
- `on` / `off` <sup>[1.52.3b17](https://github.com/gorhill/uBlock/commit/eb66129fbfcdd3e1335cc5058d3afb1a887bad76)</sup>
|
- `on`<sup>1</sup> / `off`<sup>1</sup>
|
||||||
|
- `true` / `false`,
|
||||||
|
- `y` / `n`,
|
||||||
|
- `yes` / `no`
|
||||||
- optional, cookie path, defaults to /; possible values:
|
- optional, cookie path, defaults to /; possible values:
|
||||||
- `/`: root path
|
- `/`: root path
|
||||||
- `none`: to set no path at all
|
- `none`: to set no path at all
|
||||||
|
|
||||||
|
<sup>1. [1.52.3b17](https://github.com/gorhill/uBlock/commit/eb66129fbfcdd3e1335cc5058d3afb1a887bad76)</sup>
|
||||||
|
<sup>2. [1.52.3b17](https://github.com/gorhill/uBlock/commit/d51b393fdbdc7dec0e21086795b9ce394cf21adf)</sup>
|
||||||
|
|
||||||
The scriptlet encodes cookie names and values, e.g value "{ test: 'value'}" becomes `%7B%20test%3A%20'value'%7D`.
|
The scriptlet encodes cookie names and values, e.g value "{ test: 'value'}" becomes `%7B%20test%3A%20'value'%7D`.
|
||||||
|
|
||||||
Tokens:
|
Tokens:
|
||||||
|
Loading…
Reference in New Issue
Block a user