1// more details : https://klaro.org/docs/getting-started 2// example config file : https://github.com/klaro-org/klaro-js/blob/master/dist/config.js 3var klaroConfig = { 4 // ID of the DIV element that Klaro will create 5 elementID: 'klaro', 6 7 // name of the cookie that Klaro uses for storing user consent decisions 8 cookieName: 'rgpd-2020-02-25', 9 10 // expiration time for the Klaro cookie 11 cookieExpiresAfterDays: 365, 12 13 // link to privacy policy page. 14 privacyPolicy: '/cookie-usage', 15 16 // default state for applications (true=enabled by default) 17 default: false, 18 19 // directly display the consent manager modal 20 mustConsent: false, 21 22 // display the decline button 23 hideDeclineAll: false, 24 25 // Show "accept all" to accept all apps instead of "ok" that only accepts 26 // required and "default: true" apps 27 acceptAll: true, 28 29 // Klaro 0.7 groups services under purpose-level toggles by default; 30 // keep the pre-0.7 flat service list 31 groupByPurpose: false, 32}; 33 34// Public surface: resolved by name from server-side templates and other legacy scripts. 35window.klaroConfig = klaroConfig; // e.g. layouts/scripts/partials/rgpd.phtml
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.