1 2var klaroConfig = { 3 version: 1, 4 5 elementID: 'klaro', 6 7 styling: { 8 theme: ['dark', 'bottom', 'wide'], 9 }, 10 11 noAutoLoad: false, 12 13 htmlTexts: true, 14 15 // Setting 'embedded' to true will render the Klaro modal and notice without 16 // the modal background, allowing you to e.g. embed them into a specific element 17 // of your website, such as your privacy notice. 18 embedded: false, 19 20 // You can group services by their purpose in the modal. This is advisable 21 // if you have a large number of services. Users can then enable or disable 22 // entire groups of services instead of having to enable or disable every service. 23 groupByPurpose: true, 24 25 // How Klaro should store the user's preferences. It can be either 'cookie' 26 // (the default) or 'localStorage'. 27 storageMethod: 'cookie', 28 29 // You can customize the name of the cookie that Klaro uses for storing 30 // user consent decisions. If undefined, Klaro will use 'klaro'. 31 cookieName: 'klaro', 32 33 // You can also set a custom expiration time for the Klaro cookie. 34 // By default, it will expire after 120 days. 35 cookieExpiresAfterDays: 365, 36 37 // You can change to cookie domain for the consent manager itself. 38 // Use this if you want to get consent once for multiple matching domains. 39 // If undefined, Klaro will use the current domain. 40 //cookieDomain: '.github.com', 41 42 // You can change to cookie path for the consent manager itself. 43 // Use this to restrict the cookie visibility to a specific path. 44 // If undefined, Klaro will use '/' as cookie path. 45 //cookiePath: '/', 46 47 // Defines the default state for services (true=enabled by default). 48 default: false, 49 50 // If "mustConsent" is set to true, Klaro will directly display the consent 51 // manager modal and not allow the user to close it before having actively 52 // consented or declines the use of third-party services. 53 mustConsent: false, 54 55 // Show "accept all" to accept all services instead of "ok" that only accepts 56 // required and "default: true" services 57 acceptAll: true, 58 59 // replace "decline" with cookie manager modal 60 hideDeclineAll: true, 61 62 // hide "learnMore" link 63 hideLearnMore: false, 64 65 // show cookie notice as modal 66 noticeAsModal: true, 67 68 // You can also remove the 'Realized with Klaro!' text in the consent modal. 69 // Please don't do this! We provide Klaro as a free open source tool. 70 // Placing a link to our website helps us spread the word about it, 71 // which ultimately enables us to make Klaro! better for everyone. 72 // So please be fair and keep the link enabled. Thanks :) 73 //disablePoweredBy: true, 74 75 // you can specify an additional class (or classes) that will be added to the Klaro `div` 76 //additionalClass: 'my-klaro', 77 78 lang: 'en', 79 80 // Example config that shows how to overwrite translations: 81 // https://github.com/KIProtect/klaro/blob/master/src/configs/i18n.js 82 translations: { 83 // translationsed defined under the 'zz' language code act as default 84 // translations. 85 zz: { 86 //privacyPolicyUrl : 'javascript:PopupCGU("index.php?mod=cgu")', 87 privacyPolicyUrl : 'index.php?mod=cgu', 88 }, 89 // If you erase the "consentModal" translations, Klaro will use the 90 // bundled translations. 91 de: { 92 purposes: { 93 functional: { 94 title: 'Funktionell', 95 description: "Aktiviert notwendige Cookies, die als Teil unserer Dienste verwendet werden" 96 }, 97 analytics: { 98 title: 'Statistiken', 99 description: 'Sammeln von Besucherstatistiken' 100 }, 101 }, 102 }, 103 en: { 104 purposes: { 105 functional: { 106 title: 'Functional', 107 description: "Enables necessary cookies used as part of our services" 108 }, 109 analytics: { 110 title: 'Analytics', 111 description: 'Collecting of visitor statistics' 112 }, 113 }, 114 }, 115 fr: { 116 purposes: { 117 functional: { 118 title: 'Fonctionnel', 119 description: "Active les cookies nécessaires utilisés dans le cadre de nos services" 120 }, 121 analytics: { 122 title: 'Statistiques', 123 description: 'Collecte de statistiques sur les visiteurs' 124 }, 125 }, 126 ok: "J'accepte", 127 acceptSelected: "Accepter la sélection" 128 } 129 }, 130 131 // This is a list of third-party services that Klaro will manage for you. 132 services: [ ], 133};
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.