mirror of https://github.com/gorhill/uBlock.git
Add a few more cookie names (#3907)
This commit is contained in:
parent
d24b2d8165
commit
32fb93c525
|
@ -3417,6 +3417,7 @@ function setCookie(
|
||||||
'true', 't', 'false', 'f',
|
'true', 't', 'false', 'f',
|
||||||
'y', 'n',
|
'y', 'n',
|
||||||
'yes', 'no',
|
'yes', 'no',
|
||||||
|
'necessary', 'required',
|
||||||
];
|
];
|
||||||
if ( validValues.includes(value.toLowerCase()) === false ) {
|
if ( validValues.includes(value.toLowerCase()) === false ) {
|
||||||
if ( /^\d+$/.test(value) === false ) { return; }
|
if ( /^\d+$/.test(value) === false ) { return; }
|
||||||
|
|
Loading…
Reference in New Issue