From bcd3a76ce54531785886588aefec314e96325849 Mon Sep 17 00:00:00 2001 From: "Felix A. Schultz" Date: Sun, 21 Jul 2024 11:37:58 +0200 Subject: [PATCH] Refactor cookie settings logic and optimize iframe loading --- cb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cb.js b/cb.js index 73fb14d..3ab34c0 100644 --- a/cb.js +++ b/cb.js @@ -934,7 +934,7 @@ window.addEventListener("load", function () { // Step 3: Remove the existing element parent.removeChild(e.target.parentElement.parentElement.parentElement); - console.log(parent); + console.log(JSON.parse(decodeIntaConsentsObject(getCookie(int_hideCookieBannerName)?.split(".")[2]))?.consents); }, 1000); // Replace the old cookie with the new one