mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Add essential and nonessential to set-cookie (#3919)
This commit is contained in:
parent
966a233219
commit
37d31a82d8
1 changed files with 1 additions and 0 deletions
|
@ -3791,6 +3791,7 @@ function setCookie(
|
||||||
'necessary', 'required',
|
'necessary', 'required',
|
||||||
'approved', 'disapproved',
|
'approved', 'disapproved',
|
||||||
'hide', 'hidden',
|
'hide', 'hidden',
|
||||||
|
'essential', 'nonessential',
|
||||||
];
|
];
|
||||||
const normalized = value.toLowerCase();
|
const normalized = value.toLowerCase();
|
||||||
const match = /^("?)(.+)\1$/.exec(normalized);
|
const match = /^("?)(.+)\1$/.exec(normalized);
|
||||||
|
|
Loading…
Reference in a new issue