1// obtain plugin 2var cc = initCookieConsent(); 3 4 5 6// run plugin with your configuration 7cc.run({ 8 9 current_lang: 'it', 10 auto_language: "browser", 11 autoclear_cookies: true, // default: false 12 page_scripts: true, // default: false 13 14 // mode: 'opt-in' // default: 'opt-in'; value: 'opt-in' or 'opt-out' 15 // delay: 0, // default: 0 16 // auto_language: null // default: null; could also be 'browser' or 'document' 17 // autorun: true, // default: true 18 // force_consent: false, // default: false 19 // hide_from_bots: true, // default: true 20 // remove_cookie_tables: false // default: false 21 // cookie_name: 'cc_cookie', // default: 'cc_cookie' 22 // cookie_expiration: 182, // default: 182 (days) 23 // cookie_necessary_only_expiration: 182 // default: disabled 24 // cookie_domain: location.hostname, // default: current domain 25 // cookie_path: '/', // default: root 26 // cookie_same_site: 'Lax', // default: 'Lax' 27 // use_rfc_cookie: false, // default: false 28 // revision: 0, // default: 0 29 30 31 32 gui_options: { 33 consent_modal: { 34 layout: 'box', // box/cloud/bar 35 position: 'middle center', // bottom/middle/top + left/right/center 36 transition: 'slide', // zoom/slide 37 swap_buttons: true // enable to invert buttons 38 } 39 }, 40 41 onFirstAction: function(user_preferences, cookie){ 42 // callback triggered only once 43 }, 44 45 onAccept: function (cookie) { 46 // ... 47 }, 48 49 onChange: function (cookie, changed_preferences) { 50 // ... 51 }, 52 53 languages: { 54 'en': { 55 consent_modal: { 56 title: 'We use cookies!', 57 description: 'Hi, this website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it, as described in the <a href="https://www.iubenda.com/privacy-policy/20668576/cookie-policy" target="_blank" title="Cookie Policy ">cookie policy</a>. The latter will be set only after consent. <button type="button" data-cc="c-settings" class="cc-link">Let me choose</button>', 58 primary_btn: { 59 text: 'Accept all', 60 role: 'accept_all' // 'accept_selected' or 'accept_all' 61 }, 62 secondary_btn: { 63 text: 'Reject all', 64 role: 'accept_necessary' // 'settings' or 'accept_necessary' 65 } 66 }, 67 settings_modal: { 68 title: 'Cookie preferences', 69 save_settings_btn: 'Save settings', 70 accept_all_btn: 'Accept all', 71 reject_all_btn: 'Reject all', 72 close_btn_label: 'Close', 73 cookie_table_headers: [ 74 {col1: 'Name'}, 75 {col2: 'Domain'}, 76 {col3: 'Expiration'}, 77 {col4: 'Description'} 78 ], 79 blocks: [ 80 { 81 title: 'Cookie usage ð¢', 82 description: 'We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want. For more details relative to cookies and other sensitive data, please read the full <a href="https://www.iubenda.com/privacy-policy/20668576/cookie-policy" target="_blank" title="Cookie Policy ">cookie policy</a>.' 83 }, { 84 title: 'Strictly necessary cookies', 85 description: 'These cookies are essential for the proper functioning of my website. Without these cookies, the website would not work properly', 86 toggle: { 87 value: 'necessary', 88 enabled: true, 89 readonly: true // cookie categories with readonly=true are all treated as "necessary cookies" 90 } 91 }, { 92 title: 'Performance/Statistics cookies', 93 description: 'These cookies allow the website to remember the choices you have made in the past', 94 toggle: { 95 value: 'analytics', // your cookie category 96 enabled: false, 97 readonly: false 98 }, 99 cookie_table: [ // list of all expected cookies 100 { 101 col1: '^_ga', // match all cookies starting with "_ga" 102 col2: 'google.com', 103 col3: '2 anni', 104 col4: 'Google Analytics', 105 is_regex: true 106 }, 107 { 108 col1: '^_gac*', 109 col2: 'google.com', 110 col3: '3 mesi', 111 col4: 'Google Analytics', 112 is_regex: true 113 }, 114 { 115 col1: '_gid', 116 col2: 'google.com', 117 col3: '1 giorno', 118 col4: 'Google Analytics', 119 }, 120 { 121 col1: '_gat', 122 col2: 'google.com', 123 col3: '1 minuto', 124 col4: 'Google Analytics', 125 }, 126 { 127 col1: 'AMP_TOKEN', 128 col2: 'google.com', 129 col3: '1 ora', 130 col4: 'Google Analytics', 131 } 132 ] 133 }, { 134 title: 'More information', 135 description: 'For any queries in relation to our policy on cookies and your choices, please <a class="cc-link" href="/infogen.php">contact us</a>.', 136 } 137 ] 138 } 139 }, 140 141 142 'it': { 143 consent_modal: { 144 title: 'Questo sito utilizza cookies', 145 description: 'FirenzeArt e alcuni fornitori terzi selezionati utilizzano i cookie per scopi puramente tecnici e, con il consenso dell\'utente, per scopi statistici, come descritto nella <a href="https://www.iubenda.com/privacy-policy/20668576/cookie-policy" target="_blank" title="Cookie Policy ">cookie policy</a>. L\'utente può concedere, rifiutare o ritirare il proprio consenso in qualsiasi momento. <button type="button" data-cc="c-settings" class="cc-link">Modifica preferenze</button>', 146 primary_btn: { 147 text: 'Accetta', 148 role: 'accept_all' // 'accept_selected' or 'accept_all' 149 }, 150 secondary_btn: { 151 text: 'Rifiuta', 152 role: 'accept_necessary' // 'settings' or 'accept_necessary' 153 } 154 }, 155 settings_modal: { 156 title: 'Preferenze Cookie', 157 save_settings_btn: 'Salva preferenze', 158 accept_all_btn: 'Accetta tutto', 159 reject_all_btn: 'Rifiuta tutto', 160 close_btn_label: 'Chiudi', 161 cookie_table_headers: [ 162 {col1: 'Nome'}, 163 {col2: 'Dominio'}, 164 {col3: 'Scadenza'}, 165 {col4: 'Descrizione'} 166 ], 167 blocks: [ 168 { 169 title: 'Uso dei Cookie ð¢', 170 description: 'Usiamo i cookie per garantire il funzionamento del servizio e migliorare l\'esperienza di navigazione. Per ogni categoria puoi concedere o negare il consenso il qualsiasi momento. Per maggiori dettagli fare riferimento alla <a href="https://www.iubenda.com/privacy-policy/20668576/cookie-policy" target="_blank" title="Cookie Policy ">cookie policy</a>.' 171 }, { 172 title: 'Cookie strettamente necessari', 173 description: 'Questi cookie sono essenziali per il corretto funzionamento del sito. Senza questi cookie, il sito potrebbe non funzionare', 174 toggle: { 175 value: 'necessary', 176 enabled: true, 177 readonly: true // cookie categories with readonly=true are all treated as "necessary cookies" 178 } 179 }, { 180 title: 'Cookie di Misurazione/Statistica', 181 description: 'Questi cookie ci permettono di misurare il traffico e analizzare il tuo comportamento per migliorare il nostro
181servizio.', 182 toggle: { 183 value: 'analytics', // your cookie category 184 enabled: false, 185 readonly: false 186 }, 187 cookie_table: [ // list of all expected cookies 188 { 189 col1: '^_ga', // match all cookies starting with "_ga" 190 col2: 'google.com', 191 col3: '2 anni', 192 col4: 'Google Analytics', 193 is_regex: true 194 }, 195 { 196 col1: '^_gac*', 197 col2: 'google.com', 198 col3: '3 mesi', 199 col4: 'Google Analytics', 200 is_regex: true 201 }, 202 { 203 col1: '_gid', 204 col2: 'google.com', 205 col3: '1 giorno', 206 col4: 'Google Analytics', 207 }, 208 { 209 col1: '_gat', 210 col2: 'google.com', 211 col3: '1 minuto', 212 col4: 'Google Analytics', 213 }, 214 { 215 col1: 'AMP_TOKEN', 216 col2: 'google.com', 217 col3: '1 ora', 218 col4: 'Google Analytics', 219 } 220 ] 221 }, { 222 title: 'Maggiori informazioni', 223 description: 'Per qualsiasi necessità di chiarimento relativa alla nostra policy sui cookie <a class="cc-link" href="/infogen.php">contattaci</a>.', 224 } 225 ] 226 } 227 } 228 229 } 230});
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.