Updated 'trusted-set-cookie' documentation

garry-ut99 2024-07-07 16:14:18 +00:00
parent b0dac57146
commit c5948c9a7f

@ -1081,6 +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))
- 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