1// obtain plugin 2var cc = initCookieConsent(); 3 4// run plugin with your configuration 5cc.run({ 6 current_lang: 'cs', 7 autoclear_cookies: true, // default: false 8 page_scripts: true, // default: false 9 10 // mode: 'opt-in' // default: 'opt-in'; value: 'opt-in' or 'opt-out' 11 // delay: 0, // default: 0 12 // auto_language: null // default: null; could also be 'browser' or 'document' 13 // autorun: true, // default: true 14 // force_consent: false, // default: false 15 // hide_from_bots: false, // default: false 16 // remove_cookie_tables: false // default: false 17 // cookie_name: 'cc_cookie', // default: 'cc_cookie' 18 // cookie_expiration: 182, // default: 182 (days) 19 // cookie_necessary_only_expiration: 182 // default: disabled 20 // cookie_domain: location.hostname, // default: current domain 21 // cookie_path: '/', // default: root 22 // cookie_same_site: 'Lax', // default: 'Lax' 23 // use_rfc_cookie: false, // default: false 24 // revision: 0, // default: 0 25 26 onFirstAction: function(user_preferences, cookie){ 27 // callback triggered only once 28 }, 29 30 onAccept: function (cookie) { 31 // ... 32 }, 33 34 onChange: function (cookie, changed_preferences) { 35 // ... 36 }, 37 38 languages: { 39 'cs': { 40 consent_modal: { 41 title: 'Tento web použÃvá soubory cookies', 42 description: 'Tyto webové stránky ukládajà v souladu se zákony na VaÅ¡e zaÅÃzenà soubory, obecnÄ nazývané cookies. Na naÅ¡em webu použÃváme cookies pÅedevÅ¡Ãm k analýze návÅ¡tÄvnosti. Odsouhlaste prosÃm nastavenà cookies souborů pro použità webu.', 43 primary_btn: { 44 text: 'Povolit vÅ¡e', 45 role: 'accept_all' 46 }, 47 secondary_btn: { 48 text: 'NastavenÃ', 49 role: 'settings' 50 } 51 }, 52 settings_modal: { 53 title: 'Nastavenà cookies', 54 save_settings_btn: 'Uložit nastavenÃ', 55 accept_all_btn: 'Povolit vÅ¡e', 56 reject_all_btn: 'Zakázat vÅ¡e', 57 close_btn_label: 'ZavÅÃt', 58 blocks: [ 59 { 60 title: 'Co jsou cookies?', 61 description: 'Cookies jsou malé textové soubory, které mohou být použÃvány webovými stránkami, aby zefektivnily uživatelský zážitek a zlepÅ¡ily napÅÃklad vašà orientaci na webu.<br><br>Zákon uvádÃ, že můžeme ukládat cookies na vaÅ¡em zaÅÃzenÃ, pokud jsou nezbytnÄ nutné pro provoz této stránky. Pro vÅ¡echny ostatnà typy cookies potÅebujeme vaÅ¡e povolenÃ.' 62 }, { 63 title: 'Technické cookies (nezbytné)', 64 description: '', 65 toggle: { 66 value: 'necessary', 67 enabled: true, 68 readonly: true 69 } 70 }, {
71 title: 'Analytické cookies', 72 description: '', 73 toggle: { 74 value: 'analytics', 75 enabled: false, 76 readonly: false 77 } 78 } 79 ] 80 } 81 } 82 } 83});
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.