mirror of
https://github.com/gorhill/uBlock.git
synced 2024-07-05 11:37:01 +02:00
Add hide and hidden to set-cookie (#3918)
This commit is contained in:
parent
62fdd8b4a4
commit
bdb99862ce
|
@ -3785,6 +3785,7 @@ function setCookie(
|
||||||
'yes', 'y', 'no', 'n',
|
'yes', 'y', 'no', 'n',
|
||||||
'necessary', 'required',
|
'necessary', 'required',
|
||||||
'approved', 'disapproved',
|
'approved', 'disapproved',
|
||||||
|
'hide', 'hidden',
|
||||||
];
|
];
|
||||||
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