mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Add Accept
/Reject
as valid values for set-cookie
scriptlet
Related discussion: - https://github.com/uBlockOrigin/uAssets/discussions/18762
This commit is contained in:
parent
e0b4b3d830
commit
1f57822c33
1 changed files with 1 additions and 0 deletions
|
@ -2795,6 +2795,7 @@ function setCookie(
|
|||
'yes', 'Yes', 'y', 'Y',
|
||||
'no', 'No', 'n', 'N',
|
||||
'ok', 'OK',
|
||||
'Accept', 'Reject',
|
||||
]);
|
||||
if ( validValues.has(value) === false ) {
|
||||
if ( /^\d+$/.test(value) === false ) { return; }
|
||||
|
|
Loading…
Reference in a new issue