1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-28 21:57:12 +02:00

Add dismissed to set-cookie (#3921)

This commit is contained in:
Fanboynz 2024-07-28 00:26:59 +12:00 committed by GitHub
parent 2dd591c1d7
commit 76246f2c59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3819,6 +3819,7 @@ function setCookie(
'approved', 'disapproved',
'hide', 'hidden',
'essential', 'nonessential',
'dismiss', 'dismissed',
];
const normalized = value.toLowerCase();
const match = /^("?)(.+)\1$/.exec(normalized);