diff --git a/cb.js b/cb.js index 5efbad8..084266c 100644 --- a/cb.js +++ b/cb.js @@ -781,24 +781,6 @@ window.addEventListener("load", function () { } window.addEventListener("message", sendCookieInformation); window.removeEventListener("message", sendCookieInformation); - - function saveCookieInformation(event) { - if (event.origin !== "https://consents.cdn.intastellarsolutions.com") return; - - - console.log(event); - /* if (event.data.cookieSharing !== undefined || event.data.cookieSharing !== null) { - const intastellarUserGivingConsents = event.data.cookieSharing; - console.log(intastellarUserGivingConsents); - document.cookie = - int_hideCookieBannerName + "=__inta1." + encodeIntaConsentsObject(intastellarUserGivingConsents, randomIntFromInterval(20, 34)) + "; expires=" + cookieLifeTime + - "; path=/; " + - intCookieDomain + - ""; - } */ - } - - window.addEventListener("message", saveCookieInformation); } }