1var klaroConfig = { 2 elementID: 'klaro', 3 // How Klaro should store the user's preferences. It can be either 'cookie' 4 // (the default) or 'localStorage'. 5 storageMethod: 'cookie', 6 // You can customize the name of the cookie that Klaro uses for storing 7 // user consent decisions. If undefined, Klaro will use 'klaro'. 8 cookieName: 'klaro', 9 // You can also set a custom expiration time for the Klaro cookie. 10 // By default, it will expire after 120 days. 11 cookieExpiresAfterDays: 365, 12 // You can change to cookie domain for the consent manager itself. 13 // Use this if you want to get consent once for multiple matching domains. 14 // If undefined, Klaro will use the current domain. 15 //cookieDomain: '.github.com', 16 // Put a link to your privacy policy here (relative or absolute). 17 privacyPolicy: '/pages/datenschutz.php', 18 // Defines the default state for applications (true=enabled by default). 19 default: false, 20 // If "mustConsent" is set to true, Klaro will directly display the consent 21 // manager modal and not allow the user to close it before having actively 22 // consented or declines the use of third-party apps. 23 mustConsent: false, 24 // Show "accept all" to accept all apps instead of "ok" that only accepts 25 // required and "default: true" apps 26 acceptAll: false, 27 // replace "decline" with cookie manager modal 28 hideDeclineAll: false, 29 // You can define the UI language directly here. If undefined, Klaro will 30 // use the value given in the global "lang" variable. If that does 31 // not exist, it will use the value given in the "lang" attribute of your 32 // HTML tag. If that also doesn't exist, it will use 'en'. 33 //lang: 'en', 34 // You can overwrite existing translations and add translations for your 35 // app descriptions and purposes. See `src/translations/` for a full 36 // list of translations that can be overwritten: 37 // https://github.com/KIProtect/klaro/tree/master/src/translations 38 // Example config that shows how to overwrite translations: 39 // https://github.com/KIProtect/klaro/blob/master/src/configs/i18n.js 40 translations: { 41 // If you erase the "consentModal" translations, Klaro will use the 42 // bundled translations. 43 de: { 44 consentModal: { 45 description: 'Hier können Sie sehen und auswählen, welche Information wir über Sie sammeln.', 46 }, 47 klaro: { 48 description: 'Speichert den Zustimmungsstatus des Benutzers für Cookies auf der aktuellen Domäne', 49 }, 50 inlineTracker: { 51 description: 'Visitor statistics', 52 }, 53 cloudflare: { 54 description: 'Schutz gegen DDoS-Angriffe', 55 }, 56 googleMaps: { 57 description: 'Wird zum Entsperren von Google Maps-Inhalten verwendet', 58 }, 59 jQuery: { 60 description: 'Script für Aussehen und Funktionalität von Google gehostet', 61 }, 62 wb2108sid: { 63 description: 'Nicht klassifizierte Cookies. Wir versuchen diese Cookies gerade zu klassifizieren, zusammen mit Anbietern von individuellen Cookies', 64 }, 65 purposes: { 66 analytics: 'Besucher-Statistiken', 67 security: 'Sicherheit', 68 styling: 'Aussehen', 69 function: 'Funktion', 70 }, 71 }, 72 en: { 73 consentModal: { 74 description:'Here you can see and customize the information that we collect about you.', 75 }, 76 klaro: { 77 description: 'Stores the users consent status for cookies on the current domain', 78 }, 79 inlineTracker: { 80 description: 'Visitor statistics', 81 }, 82 cloudflare: { 83 description: 'Protection against DDoS attacks', 84 }, 85 googleMaps: { 86 description: 'Unlock Google Maps content', 87 }, 88 jQuery: { 89 description: 'Script for Styling and Function hostet by Google',
90 }, 91 wb2108sid: { 92 description: 'Unclassified cookies. We are trying to classify these cookies together with providers of individual cookies', 93 }, 94 purposes: { 95 analytics: 'Analytics', 96 security: 'Security', 97 styling: 'Design', 98 function: 'Function', 99 Statistics: 'statistics', 100 }, 101 }, 102 }, 103 // This is a list of third-party apps that Klaro will manage for you. 104 apps: [ 105 { 106 name: 'inlineTracker', 107 default: false, 108 optOut: true, 109 title: 'Visitor statistics', 110 purposes: ['analytics'], 111 cookies: ['visitor-statistics'], 112 callback : function(consent, app){ 113 //this is an example callback function... 114 }, 115 }, 116 { 117 name: 'klaro', 118 default: false, 119 purposes: ['analytics'], 120 title: 'Klaro', 121 Cookies: [ 122 // Sie können auch explizit einen Pfad und eine Domain für angeben 123 // ein gegebener Cookie. Dies ist erforderlich, wenn Sie Apps haben, die 124 // setze Cookies für einen Pfad, der nicht "/" ist, oder eine Domain, die 125 // ist nicht die aktuelle Domain. Wenn Sie diese Werte nicht einstellen 126 // Richtig, der Cookie kann von Klaro nicht gelöscht werden 127 // (Es gibt keine Möglichkeit, auf den Pfad oder die Domäne eines Cookies in JS zuzugreifen.) 128 // Beachten Sie, dass gesetzte Cookies nicht gelöscht werden können 129 // auf einer Drittanbieter-Domain! Siehe den Hinweis bei mdn: 130 // https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie#new-cookie_domain 131 [ / ^ _pk_. * $ / , '/' , 'klaro.kiprotect.com' ] , // für die Produktionsversion 132 [ / ^ _pk_. * $ / , '/' , 'localhost' ] , // für die lokale Version 133 'piwik_ignore' , 134 ] , 135 }, 136 { 137 name: 'googleMaps', 138 default: true, 139 title: 'Google Maps', 140 purposes: ['function'], 141 }, 142 { 143 name: 'jQuery', 144 default: true, 145 title: 'jQuery', 146 purposes: ['function'], 147 }, 148 { 149 name: 'wb2108sid', 150 default: true, 151 title: 'wb-2108-sid', 152 }, 153 { 154 name: 'cloudflare', 155 title: 'Cloudflare', 156 purposes: ['security'], 157 required: true, 158 }, 159 ], 160};
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.