mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 23:42:39 +01:00
Add checked/unchecked to set-cookie (#3923)
This commit is contained in:
parent
34047daa06
commit
3e2171f550
@ -3848,6 +3848,7 @@ function setCookie(
|
|||||||
'hide', 'hidden',
|
'hide', 'hidden',
|
||||||
'essential', 'nonessential',
|
'essential', 'nonessential',
|
||||||
'dismiss', 'dismissed',
|
'dismiss', 'dismissed',
|
||||||
|
'checked', 'unchecked',
|
||||||
];
|
];
|
||||||
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