From eb66129fbfcdd3e1335cc5058d3afb1a887bad76 Mon Sep 17 00:00:00 2001 From: peace2000 <17256841+peace2000@users.noreply.github.com> Date: Sat, 21 Oct 2023 03:43:52 +0300 Subject: [PATCH] Add "on" and "off" values to set-cookie (#3898) * Add "on" and "off" values to set-cookie Used on praxisplan.at. https://github.com/uBlockOrigin/uAssets/commit/0cd4612e1815afa8b0225d2853220fec0280874a * Update scriptlets.js --- assets/resources/scriptlets.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/resources/scriptlets.js b/assets/resources/scriptlets.js index 0ea0163c1..d8cad2e71 100644 --- a/assets/resources/scriptlets.js +++ b/assets/resources/scriptlets.js @@ -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; }