mirror of https://github.com/gorhill/uBlock.git
Add "on" and "off" values to set-cookie (#3898)
* Add "on" and "off" values to set-cookie
Used on praxisplan.at.
0cd4612e18
* Update scriptlets.js
This commit is contained in:
parent
41d91ed080
commit
eb66129fbf
|
@ -3388,6 +3388,7 @@ function setCookie(
|
|||
'ok',
|
||||
'accept', 'reject',
|
||||
'allow', 'deny',
|
||||
'on', 'off',
|
||||
];
|
||||
if ( validValues.includes(value.toLowerCase()) === false ) {
|
||||
if ( /^\d+$/.test(value) === false ) { return; }
|
||||
|
|
Loading…
Reference in New Issue