PageSourceSearch

https://www.wunderkarten.de/js/cookie-message.js?a78d34b9

js wunderkarten.de collected 2026-09-28 11:54:37 UTC 1,662 bytes, 1 lines download raw bytes

1const cookiesModal=new bootstrap.Modal(document.getElementById("js-cookies-modal")),acceptButton=document.getElementById("js-accept-cookies-button"),denyButton=document.getElementById("js-deny-cookies-button"),cookiePolicyLink=document.getElementById("js-cookie-policy-link");acceptAllCookies=()=>{setCookieValue("analytical_cookies","yes"),setCookieValue("tracking_cookies","yes"),setCookieValue("cookie_banner_completed","yes"),cookiesModal.hide(),consentChangeEvent()},denyAllCookies=()=>{setCookieValue("analytical_cookies","yes"),setCookieValue("tracking_cookies","no"),setCookieValue("cookie_banner_completed","yes"),cookiesModal.hide(),consentChangeEvent()},getCookieValue=e=>{let o=document.cookie.match(new RegExp(e+"=([^;]+)"));return o?decodeURIComponent(o[1]):null},setCookieValue=(e,o)=>{const t=new Date,n=new Date(t.getTime()+15552e6).toUTCString();document.cookie=`${e}=${encodeURIComponent(o)};path=/;expires=${n}`},consentChangeEvent=()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"consentChange"}),document.body.classList.contains("scroll-body-on-cookie-modal")&&document.body.classList.remove("scroll-body-on-cookie-modal")},openCookiePolicy=()=>{denyAllCookies(),window.open("/cookies",target="_self")},initCookiesModal=()=>{acceptButton.addEventListener("click",acceptAllCookies),denyButton.addEventListener("click",denyAllCookies),cookiePolicyLink.addEventListener("click",openCookiePolicy)},cookieChecker=()=>{"yes"!==getCookieValue("cookie_banner_completed")&&"body_cookies"!==document.body.id&&(initCookiesModal(),cookiesModal.show(),document.body.classList.add("scroll-body-on-cookie-modal"))},cookieChecker();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.