1var klaroConfig = { 2 cookieExpiresAfterDays: 365, 3 mustConsent: false, 4 acceptAll: true, 5 additionalClass: "myKlaro", 6 7 services: [ 8 { 9 name: "youtube", 10 title: "YouTube", 11 purposes: ["erforderlich"], 12 }, 13 { 14 name: "googleMaps", 15 title: "Google Maps", 16 purposes: ["erforderlich"], 17 callback: function (consent, app) { 18 var className = ".consent-googlemaps-js"; 19 if (consent === true) { 20 document.querySelectorAll(className).forEach(function (el) { 21 el.style.display = "none"; 22 }); 23 document.body.classList.add("googlemaps-allowed"); 24 document.body.classList.remove("googlemaps-disallowed"); 25 } else { 26 document.querySelectorAll(className).forEach(function (el) { 27 el.style.display = "block"; 28 }); 29 30 document.body.classList.add("googlemaps-disallowed"); 31 document.body.classList.remove("googlemaps-allowed"); 32 } 33 }, 34 }, 35 { 36 purposes: ["marketing"], 37 name: "kununu", 38 contextualConsentOnly: true, 39 }, 40 { 41 purposes: ["marketing"], 42 name: "facebookPixel", 43 title: "Meta Pixel", 44 }, 45 ], 46}; 47 48if (typeof klaroConfigTranslations !== "undefined") { 49 for (var attr in klaroConfigTranslations) { 50 klaroConfig[attr] = klaroConfigTranslations[attr]; 51 } 52}
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.