mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 02:42:41 +01:00
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',
|
||||
'y', 'n',
|
||||
'yes', 'no',
|
||||
'necessary', 'required',
|
||||
];
|
||||
if ( validValues.includes(value.toLowerCase()) === false ) {
|
||||
if ( /^\d+$/.test(value) === false ) { return; }
|
||||
|
Loading…
Reference in New Issue
Block a user