PageSourceSearch

https://www.narjesia.de/klaro/config.js

js narjesia.de collected 2026-10-06 18:58:41 UTC 21,163 bytes, 505 lines download raw bytes

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" />
5var klaroConfig = {
6    // With the 0.7.0 release we introduce a 'version' paramter that will make
7    // if easier for us to keep configuration files backwards-compatible in the future.
8    version: 1,
9
10    // You can customize the ID of the DIV element that Klaro will create
11    // when starting up. If undefined, Klaro will use 'klaro'.
12    elementID: 'klaro',
13
14    // You can override CSS style variables here. For IE11, Klaro will
15    // dynamically inject the variables into the CSS. If you still consider
16    // supporting IE9-10 (which you probably shouldn't) you need to use Klaro
17    // with an external stylesheet as the dynamic replacement won't work there.
18    // possible values: top, bottom, left, right, wide, light
19    styling: {
20    //    theme: ['light', 'top', 'wide'],
21        theme: ['bottom', 'right'],
22    },
23
24    // Setting this to true will keep Klaro from automatically loading itself
25    // when the page is being loaded.
26    noAutoLoad: false,
27
28    // Setting this to true will render the descriptions of the consent
29    // modal and consent notice are HTML. Use with care.
30    htmlTexts: true,
31
32    // Setting 'embedded' to true will render the Klaro modal and notice without
33    // the modal background, allowing you to e.g. embed them into a specific element
34    // of your website, such as your privacy notice.
35    embedded: false,
36
37    // You can group services by their purpose in the modal. This is advisable
38    // if you have a large number of services. Users can then enable or disable
39    // entire groups of services instead of having to enable or disable every service.
40    groupByPurpose: true,
41
42    // How Klaro should store the user's preferences. It can be either 'cookie'
43    // (the default) or 'localStorage'.
44    storageMethod: 'cookie',
45
46    // You can customize the name of the cookie that Klaro uses for storing
47    // user consent decisions. If undefined, Klaro will use 'klaro'.
48    cookieName: 'klaro',
49
50    // You can also set a custom expiration time for the Klaro cookie.
51    // By default, it will expire after 120 days.
52    //cookieExpiresAfterDays: 365,
53    cookieExpiresAfterDays: 90,
54
55    // You can change to cookie domain for the consent manager itself.
56    // Use this if you want to get consent once for multiple matching domains.
57    // If undefined, Klaro will use the current domain.
58    //cookieDomain: '.github.com',
59
60    // You can change to cookie path for the consent manager itself.
61    // Use this to restrict the cookie visibility to a specific path.
62    // If undefined, Klaro will use '/' as cookie path.
63    //cookiePath: '/',
64
65    // Defines the default state for services (true=enabled by default).
66    default: false,
67
68    // If "mustConsent" is set to true, Klaro will directly display the consent
69    // manager modal and not allow the user to close it before having actively
70    // consented or declines the use of third-party services.
71    mustConsent: false,
72
73    // Show "accept all" to accept all services instead of "ok" that only accepts
74    // required and "default: true" services
75    acceptAll: true,
76
77    // replace "decline" with cookie manager modal
78    hideDeclineAll: false,
79
80    // hide "learnMore" link
81    hideLearnMore: false,
82
83    // show cookie notice as modal
84    noticeAsModal: false,
85
86    // You can also remove the 'Realized with Klaro!' text in the consent modal.
87    // Please don't do this! We provide Klaro as a free open source tool.
88    // Placing a link to our website helps us spread the word about it,
89    // which ultimately enables us to make Klaro! better for everyone.
90    // So please be fair and keep the link enabled. Thanks :)
91    //disablePoweredBy: true,
92
93    // you can specify an additional class (or classes) that will be added to the Klaro `div`
94    //additionalClass: 'my-klaro',
95
96    // You can define the UI language directly here. If undefined, Klaro will
97    // use the value given in the global "lang" variable. If that does
98    // not exist, it will use the value given in the "lang" attribute of your
99    // HTML tag. If that also doesn't exist, it will use 'en'.
100    //lang: 'en',
101
102    // You can overwrite existing translations and add translations for your
103    // service descriptions and purposes. See `src/translations/` for a full
104    // list of translations that can be overwritten:
105    // https://github.com/KIProtect/klaro/tree/master/src/translations
106
107    // Example config that shows how to overwrite translations:
108    // https://github.com/KIProtect/klaro/blob/master/src/configs/i18n.js
109    translations: {
110        // translationsed defined under the 'zz' language code act as default
111        // translations.
112        zz: {
113            privacyPolicyUrl: '/privacy.html',
114        },
115        // If you erase the "consentModal" translations, Klaro will use the
116        // bundled translations.
117        de: {
118            privacyPolicyUrl: '/datenschutz.html',
119            consentModal: {
120                description:
121                    'Hier können Sie einsehen und anpassen, welche Information wir über Sie sammeln. Einträge, die als "Beispiel" gekennzeichnet sind, dienen lediglich zu Demonstrationszwecken und werden nicht wirklich verwendet.',
122            },
123            consentNotice: {
124                  description:
125                    'Zur Aktivierung einiger zusätzlicher Dienste für {purposes} ist Ihre Zustimmung erforderlich. Sie können Ihre Zustimmung später jederzeit ändern oder zurückziehen.',
126                  learnMore: 'Mehr erfahren',
127            },
128            decline: 'Ablehnen',
129            ok: 'Zustimmen',
130            inlineTracker: {
131                description: 'Beispiel für ein Inline-Tracking Skript',
132            },
133            externalTracker: {
134                description: 'Beispiel für ein externes Tracking Skript',
135            },
136            testCookie: {
137                description: 'Funktionstest für die Verwaltung von Cookies',
138            },
139            adsense: {
140                description: 'Anzeigen von Werbeanzeigen (Beispiel)',
141                title: 'Google AdSense Werbezeugs',
142            },
143            iabannad: {
144                description: 'Anzeigen von narjesia-Bannerwerbung in der Fußleiste',
145                title: 'narjesia Banneranzeigen',
146            },
147            matomo: {
148                description: 'Sammeln von Besucherstatistiken',
149            },
150            revolvermaps: {
151                description: 'Stellt vergröbert die Herkunft der Seitenaufrufe auf einer Weltkarte dar',
152            },
153            camera: {
154                description:
155                    'Eine Überwachungskamera (nur ein Beispiel zu IMG-Tags)',
156            },
157            cloudflare: {
158                description: 'Schutz gegen DDoS-Angriffe',
159            },
160            intercom: {
161                description:
162                    'Chat Widget & Sammeln von Besucherstatistiken (nur ein Beispiel)',
163            },
164            mouseflow: {
165                description: 'Echtzeit-Benutzeranalyse (nur ein Beispiel)',
166            },
167            googleFonts: {
168                description: 'Web-Schriftarten von Google gehostet',
169            },
170            purposes: {
171                test: 'Test',
172                analytics: 'Besucher-Statistiken',
173                security: 'Sicherheit',
174                privacy: 'Datenschutz/Privatsphäre',
175                livechat: 'Live Chat',
176                advertising: 'Anzeigen von Werbung',
177                socialmedia: 'Soziale Medien',
178                styling: 'Styling',
179            },
180        },
181        en: {
182            consentModal: {
183                title: '<u>test</u>',
184                description:
185                    'Here you can see and customize the information that we collect about you. Entries marked as "Example" are just for demonstration purposes and are not really used on this website.',
186            },
187            inlineTracker: {
188                description: 'Example of an inline tracking script',
189            },
190            externalTracker: {
191                description: 'Example of an external tracking script',
192            },
193            testCookie: {
194                description: 'Cookie management functioning test',
195            },
196            adsense: {
197                description: 'Displaying of advertisements (just an example)',
198                title: 'Google Adsense Advertisement',
199            },
200            iabannad: {
201                description: 'Displaying of advertisements',
202                title: 'narjesia banner advertising',
203            },
204            matomo: {
205                description: 'Collecting of visitor statistics',
206            },
207            revolvermaps: {
208                description: 'Map visualization of the origin of visitors',
209            },
210            camera: {
211                description:
212                    'A surveillance camera (just an example for an IMG tag)',
213            },
214            cloudflare: {
215                description: 'Protection against DDoS attacks',
216            },
217            intercom: {
218                description:
219                    'Chat widget & collecting of visitor statistics (just an example)',
220            },
221            mouseflow: {
222                description: 'Real-Time user analytics (just an example)',
223            },
224            googleFonts: {
225                description: 'Web fonts hosted by Google',
226            },
227            purposes: {
228                test: 'Test',
229                analytics: 'Analytics',
230                security: 'Security',
231                privacy: 'Privacy',
232                livechat: 'Livechat',
233                advertising: 'Advertising',
234                socialmedia: 'Social media',
235                styling: 'Styling',
236            },
237        },    
238        nl: {
239            consentModal: {
240                title: "Privacyinstellingen",
241                description: "Hier kunt u instellen welke cookies u wilt toestaan."
242            },
243            consentNotice: {
244                description: "Om u een prettige online ervaring te bieden, maken we gebruik van cookies op onze website. Voor onbeperkt gebruik van alle functies en inhoud gaat u akkoord met het gebruik van cookies.",
245                learnMore: "Instellingen"
246            },
247            close: "Opslaan en sluiten",
248            googlemaps: {
249                description: "Integratie van Google Maps"
250            },
251            externalmedia: {
252                description: "Integratie van video's of beelden van externe aanbieders, zoals YouTube en Instagram"
253            },
254            gtm: {
255                description: "'Wij gebruiken deze cookies om statistische informatie over onze website te verstrekken. Ze worden gebruikt om de prestaties te meten en te verbeteren."
256            },
257            purposes: {
258                analytics: "Statistieken",
259                provenexpert: "Weergave van gebruikersbeoordelingen'",
260                security: "Veiligheid",
261                livechat: "Live-Chat",
262                advertisting: "Reclame voor reclame",
263                externalmedia: "Integratie van externe media",
264                googlemaps: "Toon dealeradressen"
265            },
266        },
267        fr: {
268            consentModal: {
269                title: "Paramètres de confidentialité",
270                description: "Ici, vous pouvez définir les cookies que vous souhaitez autoriser."
271            },
272            consentNotice: {
273                description: "Afin de vous offrir une expérience en ligne agréable, nous utilisons des cookies sur notre site web. Pour une utilisation illimitée de toutes les fonctions et contenus, vous acceptez l'utilisation de cookies.",
274                learnMore: "Paramètres"
275            },
276            close: "Enregistrer et fermer",
277            googlemaps: {
278                description: "Intégration de Google Maps"
279            },
280            externalmedia: {
281                description: "Intégration de vidéos ou d'images de fournisseurs externes, par exemple YouTube et Instagram"
282            },
283            gtm: {
284                description: "Nous utilisons ces cookies pour fournir des informations statistiques sur notre site Web. Ils sont utilisés pour mesurer et améliorer les performances."
285            },
286            purposes: {
287                analytics: "Statistiques",
288                provenexpert: "Affichage des évaluations des utilisateurs",
289                security: "Sécurité",
290                livechat: "Live-Chat",
291                advertisting: "Anzeigen von Werbung",
292                externalmedia: "Intégration des médias externes",
293                googlemaps: "Afficher les adresses des revendeurs\n"
294            },           
295        },
296        tr: {
297            consentModal: {
298                description:
299                    'Hakkınızda topladığımız bilgileri burada görebilir ve özelleştirebilirsiniz. "Örnek" olarak belirtilenler sadece gösterim amaçlıdır ve gerçekte bu site için kullanılmazlar.',
300            },
301            inlineTracker: {
302                description: 'Satıriçi takip kodu için bir örnek',
303            },
304            externalTracker: {
305                description: 'Dışarıdan çağırılan bir takip kodu için örnek',
306            },
307            adsense: {
308                description: 'Reklam görüntüleme (sadece örnek)',
309            },
310            matomo: {
311                description: 'Ziyaretçi istatistiklerini toplama',
312            },
313            camera: {
314                description:
315                    'İzleme kamerası (IMG tag icin saçma bir örnek daha)',
316            },
317            cloudflare: {
318                description: 'DDoS saldırılarına karşı koruma',
319            },
320            clustrmaps: {
321                description: 'Origin of visitors',
322            },
323            intercom: {
324                description:
325                    'Sohbet aracı ve ziyaretçi istatistiklerini toplama (sadece bir örnek)',
326            },
327            mouseflow: {
328                description:
329                    'Gerçek zamanlı kullanıcı istatistiği (sadece bir örnek)',
330            },
331            googleFonts: {
332                description:
333                    'Google tarafından barındırılan Web Yazıtipi bilgileri',
334            },
335            purposes: {
336                analytics: 'Analitik',
337                security: 'Güvenlik',
338                privacy: 'Privacy',
339                livechat: 'Canlı Sohbet',
340                advertising: 'Reklam',
341                styling: 'Biçimlendirme',
342            },
343        },        
344    },
345
346    // This is a list of third-party services that Klaro will manage for you.
347    services: [
348//        {
349//            name: 'twitter',
350//            purposes: ['socialmedia'],
351            // Setting this to true will exempt this service from the "Accept All"
352            // flow, i.e. clicking on "Accept All" will not enable this service.
353//            contextualConsentOnly: true,
354//        },
355        {
356            name: 'youtube',
357            purposes: ['socialmedia'],
358            contextualConsentOnly: true,
359        },
360//        {
361            // Each service should have a unique (and short) name.
362//            name: 'matomo',
363
364            // If "default" is set to true, the service will be enabled by default
365            // Overwrites global "default" setting.
366            // We recommend leaving this to "false" for services that collect
367            // personal information.
368//            default: true,
369
370            // The title of you service as listed in the consent modal.
371//            title: 'Matomo/Piwik',
372
373            // The purpose(s) of this service. Will be listed on the consent notice.
374            // Do not forget to add translations for all purposes you list here.
375//            purposes: ['analytics'],
376
377            // A list of regex expressions or strings giving the names of
378            // cookies set by this service. If the user withdraws consent for a
379            // given service, Klaro will then automatically delete all matching
380            // cookies.
381//            cookies: [
382                // you can also explicitly provide a path and a domain for
383                // a given cookie. This is necessary if you have services that
384                // set cookies for a path that is not "/" or a domain that
385                // is not the current domain. If you do not set these values
386                // properly, the cookie can't be deleted by Klaro
387                // (there is no way to access the path or domain of a cookie in JS)
388                // Notice that it is not possible to delete cookies that were set
389                // on a third-party domain! See the note at mdn:
390                // https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie#new-cookie_domain
391//                [/^_pk_.*$/, '/', 'klaro.kiprotect.com'], //for the production version
392//                [/^_pk_.*$/, '/', 'localhost'], //for the local version
393//                'piwik_ignore',
394//            ],
395
396            // An optional callback function that will be called each time
397            // the consent state for the service changes (true=consented). Passes
398            // the `service` config as the second parameter as well.
399//            callback: function(consent, service) {
400                // This is an example callback function.
401//                console.log(
402//                    'User consent for service ' + service.name + ': consent=' + consent
403//                );
404                // To be used in conjunction with Matomo 'requireCookieConsent' Feature, Matomo 3.14.0 or newer
405                // For further Information see https://matomo.org/faq/new-to-piwik/how-can-i-still-track-a-visitor-without-cookies-even-if-they-decline-the-cookie-consent/
406                /*
407                if(consent==true){
408                    _paq.push(['rememberCookieConsentGiven']);
409                } else {
410                    _paq.push(['forgetCookieConsentGiven']);
411                }
412                */
413//            },
414
415            // If "required" is set to true, Klaro will not allow this service to
416            // be disabled by the user.
417//            required: false,
418
419            // If "optOut" is set to true, Klaro will load this service even before
420            // the user gave explicit consent.
421            // We recommend always leaving this "false".
422//            optOut: false,
423
424            // If "onlyOnce" is set to true, the service will only be executed
425            // once regardless how often the user toggles it on and off.
426//            onlyOnce: true,
427//        },
428
429        // The services will appear in the modal in the same order as defined here.
430        {
431            name: 'klaro',
432            title: 'Klaro Consent Manager',
433            purposes: ['privacy'],
434            cookies: ['klaro'],
435            required: true,
436        },
437//        {
438//            name: 'inlineTracker',
439//            title: 'Inline Tracker',
440//            purposes: ['analytics'],
441//            cookies: ['inline-tracker'],
442//            optOut: false,
443//        },
444//        {
445//            name: 'externalTracker',
446//            title: 'External Tracker',
447//            purposes: ['analytics', 'security'],
448//            cookies: ['external-tracker'],
449//        },
450        {
451            name: 'testCookie',
452            title: 'Test Cookie',
453            purposes: ['test'],
454            cookies: ['test-cookie'],
455        },   
456//        {
457//            name: 'intercom',
458//            title: 'Intercom',
459//            default: true,
460//            purposes: ['livechat'],
461//        },
462//        {
463//            name: 'mouseflow',
464//            title: 'Mouseflow',
465//            purposes: ['analytics'],
466//        },
467        {
468            name: 'revolvermaps',
469            title: 'Visitors\' map',
470            purposes: ['analytics'],
471            contextualConsentOnly: true,
472        },
473//        {
474//            name: 'adsense',
475            // if you omit the title here Klaro will try to look it up in the
476            // translations
477            //title: 'Google AdSense',
478//            purposes: ['advertising'],
479//        },
480        {
481            name: 'iabannad',
482            // if you omit the title here Klaro will try to look it up in the
483            // translations
484            title: 'narjesia Banneranzeigen',
485            purposes: ['advertising'],
486//            contextualConsentOnly: true,
487        },
488//        {
489//            name: 'camera',
490//            title: 'Surveillance Camera',
491//            purposes: ['security'],
492//        },
493/*        {
494            name: 'googleFonts',
495            title: 'Google Fonts',
496            purposes: ['styling'],
497        },*/
498//        {
499//            name: 'cloudflare',
500//            title: 'Cloudflare',
501//            purposes: ['security'],
502//            required: true,
503//        },
504    ],
505}; 

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.