mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Add a few more cookie names (#3907)
This commit is contained in:
parent
d24b2d8165
commit
32fb93c525
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue