1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-29 06:07:11 +02:00

Updated 'trusted-set-cookie' documentation (minor)

garry-ut99 2024-07-10 08:33:08 +00:00
parent b20fc7d0c2
commit 8f27f0a6df

@ -1081,7 +1081,7 @@ Parameters:
- empty string for no value
- `$now$` keyword for setting current time in ms, e.g 1667915146503. Can be used inside a string since [1.58.1b0](https://github.com/gorhill/uBlock/commit/0e1e4b82c5ea464f1e7837c5c8f400e5ffac4b3c)
- `$currentDate$` keyword for setting current time as string, e.g 'Tue Nov 08 2022 13:53:19 GMT+0300'
- `$currentISODate$` keyword for setting current time in ISO format as string, e.g '2024-07-07T12:10:00.641Z' (since [1.58.1b13](https://github.com/gorhill/uBlock/commit/a3576ea6519dc08e5244dafc296dc8ac31b07655))
- `$currentISODate$` keyword for setting current time in ISO format as string, e.g '2024-07-07T12:10:00.641Z' (since [1.58.1rc0](https://github.com/gorhill/uBlock/commit/a3576ea6519dc08e5244dafc296dc8ac31b07655))
- optional, offset from current time in seconds, after which cookie should expire; defaults to no offset. Possible values:
- positive integer in seconds
- `1year` keyword for setting expiration date to one year