mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 23:42:39 +01:00
Add dismissed to set-cookie (#3921)
This commit is contained in:
parent
2dd591c1d7
commit
76246f2c59
@ -3819,6 +3819,7 @@ function setCookie(
|
|||||||
'approved', 'disapproved',
|
'approved', 'disapproved',
|
||||||
'hide', 'hidden',
|
'hide', 'hidden',
|
||||||
'essential', 'nonessential',
|
'essential', 'nonessential',
|
||||||
|
'dismiss', 'dismissed',
|
||||||
];
|
];
|
||||||
const normalized = value.toLowerCase();
|
const normalized = value.toLowerCase();
|
||||||
const match = /^("?)(.+)\1$/.exec(normalized);
|
const match = /^("?)(.+)\1$/.exec(normalized);
|
||||||
|
Loading…
Reference in New Issue
Block a user