1// By default, Klaro will load the config from a global "klaroConfig" variable. 2// You can change this by specifying the "data-config" attribute on your 3// script take, e.g. like this: 4// <script src="klaro.js" data-config="myConfigVariableName" /> 5// You can also disable auto-loading of the consent notice by adding 6// data-no-auto-load=true to the script tag. 7var klaroConfig = { 8 // You can customize the ID of the DIV element that Klaro will create 9 // when starting up. If undefined, Klaro will use 'klaro'. 10 elementID: 'klaro', 11 12 // How Klaro should store the user's preferences. It can be either 'cookie' 13 // (the default) or 'localStorage'. 14 storageMethod: 'cookie', 15 16 // You can customize the name of the cookie that Klaro uses for storing 17 // user consent decisions. If undefined, Klaro will use 'klaro'. 18 cookieName: 'klaro', 19 20 // You can also set a custom expiration time for the Klaro cookie. 21 // By default, it will expire after 120 days. 22 cookieExpiresAfterDays: 365, 23 24 // You can change to cookie domain for the consent manager itself. 25 // Use this if you want to get consent once for multiple matching domains. 26 // If undefined, Klaro will use the current domain. 27 //cookieDomain: '.github.com', 28 29 // Put a link to your privacy policy here (relative or absolute). 30 privacyPolicy: '../../datenschutz/', 31 32 // Defines the default state for applications (true=enabled by default). 33 default: false, 34 35 // If "mustConsent" is set to true, Klaro will directly display the consent 36 // manager modal and not allow the user to close it before having actively 37 // consented or declines the use of third-party apps. 38 mustConsent: false, 39 40 // Show "accept all" to accept all apps instead of "ok" that only accepts 41 // required and "default: true" apps 42 acceptAll: true, 43 44 // replace "decline" with cookie manager modal 45 hideDeclineAll: false, 46 47 // You can define the UI language directly here. If undefined, Klaro will 48 // use the value given in the global "lang" variable. If that does 49 // not exist, it will use the value given in the "lang" attribute of your 50 // HTML tag. If that also doesn't exist, it will use 'en'. 51 //lang: 'en', 52 53 // You can overwrite existing translations and add translations for your 54 // app descriptions and purposes. See `src/translations/` for a full 55 // list of translations that can be overwritten: 56 // https://github.com/KIProtect/klaro/tree/master/src/translations 57 58 // Example config that shows how to overwrite translations: 59 // https://github.com/KIProtect/klaro/blob/master/src/configs/i18n.js 60 translations: { 61 // If you erase the "consentModal" translations, Klaro will use the 62 // bundled translations. 63 de: { 64 consentNotice: { 65 description: 66 'Für die Bereitstellung unserer Angebote werden auf dieser Seite technisch erforderliche Cookies gesetzt.' 67 }, 68 consentModal: { 69 description: 70 'Wir nutzen Cookies auf unserer Website. Einige von ihnen sind technisch zwingend notwendig, während andere uns helfen, unsere Website anhand der Zugriffsstatistik zu verbessern.', 71 text: 72 'Einzelheiten dazu finden Sie in unserer {privacyPolicy}.' 73 }, 74 wire: { 75 description: 'PHPSESSID', 76 required: true 77 }, 78 googleMaps: { 79 description: 'Google Map' 80 }, 81 purposes: { 82 required: 'Essenziell', 83 analytics: 'Google Maps', 84 }, 85 acceptSelected: 'Annehmen', 86 decline: 'Ablehnen', 87 } 88 }, 89 90 // This is a list of third-party apps that Klaro will manage for you. 91 apps: [ 92 { 93 name: 'wire', 94 title: 'Technisch notwendige Cookies: ProcessWire PHP Session ID', 95 description: 'Diese Cookies sind notwendig, um unsere Website nutzbar zu machen. Die Website kann ohne diese Cookies nicht richtig funktionieren. Es findet keine Ãbermittlung an Drittanbieter statt. Die Laufzeit des Cookies erstreckt sich über die Browsersitzung (Session).', 96 purposes: ['required'], 97 cookies: ['inline-tracker'], 98 optOut: false, 99 required: true 100 }, 101 102 ], 103};
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.