PageSourceSearch

https://politicheeuropee.gov.it/scripts/gdpr/cookieconsent-init.js

js politicheeuropee.gov.it collected 2026-10-02 03:45:37 UTC 12,352 bytes, 251 lines download raw bytes

1var manager = iframemanager();
2
3var cc = initCookieConsent();
4
5var YTnotice = $('#ytTexts').data('yt-notice');
6
7manager.run({
8    currLang: 'it',
9    showBtn: false,
10    services : {
11        youtube : {
12            embedUrl: 'https://www.youtube-nocookie.com/embed/{data-id}',
13            thumbnailUrl: 'https://i3.ytimg.com/vi/{data-id}/hqdefault.jpg',
14            iframe : {
15                allow : 'accelerometer; encrypted-media; gyroscope; picture-in-picture; fullscreen;',
16            },
17            cookie : {
18                name : 'cc_youtube'
19            },
20            languages : {
21                it : {
22                    notice: YTnotice
23                }
24            }
25        }
26    }
27});
28
29cc.run({
30    current_lang: 'it',
31    autoclear_cookies: true,                    // default: false
32    cookie_name: 'cc_d_p_e',             // default: 'cc_cookie'
33    cookie_expiration: 365,                     // default: 182
34    page_scripts: true,                         // default: false
35    force_consent: false,                        // default: false
36
37    auto_language: 'document',                     // default: null; could also be 'browser' or 'document'
38    // autorun: true,                           // default: true
39    // delay: 0,                                // default: 0
40    // hide_from_bots: false,                   // default: false
41    // remove_cookie_tables: false              // default: false
42    // cookie_domain: location.hostname,        // default: current domain
43    // cookie_path: '/',                        // default: root
44    // cookie_same_site: 'Lax',
45    // use_rfc_cookie: false,                   // default: false
46    // revision: 0,                             // default: 0
47
48    gui_options: {
49        consent_modal: {
50            layout: 'cloud',                    // box,cloud,bar
51            position: 'bottom center',          // bottom,middle,top + left,right,center
52            transition: 'slide'                 // zoom,slide
53        },
54        settings_modal: {
55            layout: 'bar',                      // box,bar
56            position: 'left',                   // right,left (available only if bar layout selected)
57            transition: 'slide'                 // zoom,slide
58        }
59    },
60
61  //  onFirstAction: function(){
62     //     console.log('onFirstAction fired');
63 //   },
64
65  //  onAccept: function (cookie) {
66      //    console.log('onAccept fired!')
67  //  },
68
69    onChange: function (cookie, changed_preferences) {
70      //  console.log('onChange fired!');
71
72        // If analytics category is disabled => ask for permission to load iframes
73        if(!cc.allowedCategory('analytics')){
74         //   console.log('iframemanager: disabling all iframes');
75            manager.rejectService('all');
76        }else{
77          //  console.log('iframemanager: loading all iframes');
78            manager.acceptService('all');
79        }
80    },
81    
82    languages: {
83        'it': {
84            consent_modal: {
85                title: 'Questo sito web utilizza i cookie',
86                description: 'Utilizziamo i cookie per personalizzare contenuti ed annunci, per fornire funzionalità dei social media e per analizzare il nostro traffico. Condividiamo inoltre informazioni sul modo in cui utilizza il nostro sito con i nostri partner che si occupano di analisi dei dati web, pubblicità e social media, i quali potrebbero combinarle con altre informazioni che ha fornito loro o che hanno raccolto dal suo utilizzo dei loro servizi.',
87                primary_btn: {
88                    text: 'Accetta tutti',
89                    role: 'accept_all'      //'accept_selected' or 'accept_all'
90                },
91                secondary_btn: {
92                    text: 'Preferenze',
93                    role: 'settings'       //'settings' or 'accept_necessary'
94                },
95                revision_message: '<br><br> Dear user, terms and conditions have changed since the last time you visisted!'
96            },
97            settings_modal: {
98                title: 'Impostazioni cookie',
99                save_settings_btn: 'Salva',
100                accept_all_btn: 'Accetta tutti',
101                reject_all_btn: 'Rifiuta tutti',
102                close_btn_label: 'Chiudi',
103                cookie_table_headers: [
104                    {col1: 'Nome'},
105                    {col2: 'Dominio'},
106                    {col3: 'Descrizione'}, 
107                    {col4: 'Scadenza'} 
108                ],
109                blocks: [
110                    {
111                        title: 'Utilizzo dei cookie',
112                        description: 'Vai alla nostra <a href="/it/privacy" class="cc-link">Privacy Policy</a>.'
113                    }, {
114                        title: 'Cookie strettamente necessari e tecnici',
115                        description: "Sono cookie tecnici che servono al corretto funzionamento del sito web.",
116                        toggle: {
117                            value: 'necessary',
118                            enabled: true,
119                            readonly: true  //cookie categories with readonly=true are all treated as "necessary cookies"
120                        }, 
121                        cookie_table: [
122
123                            {
124                                col1: 'SERVERID', 
125                                col2: 'politicheeuropee.gov.it', 
126                                col3: 'Identificativo del web server che sta erogando la sessione di visita', 
127                                col4: 'Sessione'
128                            },
129                            {
130                                col1: '_pk_*',
131                                col2: 'politicheeuropee.gov.it',
132                                col3: 'Cookie di Piwik utilizzati per poter raccogliere dati sul numero di volte che un utente ha visitato il sito 
132internet, oltre che le dati per la prima visita e la visita più recente. Non vengono salvati dati che potrebbero ricondurre alla persona che sta visitando il sito web.',
133                                col4: '1 giorno', 
134                                is_regex: true
135                            }, 
136                            {
137                                col1: 'cc_youtube',
138                                col2: 'politicheeuropee.gov.it',
139                                col3: 'Ha lo scopo di ricordare la scelta delle preferenze riguardanti i cookie utilizzati da youtube',
140                                col4: '1 anno'
141                            }
142                        ]
143                    },{
144                        title: 'Cookie di profilazione ai fini marketing',
145                        description: 'I cookie di marketing vengono utilizzati per tracciare i visitatori sui siti web. La finalità è quella di presentare annunci pubblicitari che siano rilevanti e coinvolgenti per il singolo utente e quindi di maggior valore per editori e inserzionisti di terze parti.',
146                        toggle: {
147                            value: 'analytics',
148                            enabled: false,
149                            readonly: false,
150                            reload: 'on_disable'            // New option in v2.4, check readme.md
151                        },
152                        cookie_table: [
153                            {
154                                col1: '*yt*',
155                                col2: 'youtube.com',
156                                col3: 'Utilizzato dalla piattaforma Youtube per tracciare le attività dell\'utente.', 
157                                col4: '1 anno'
158                            }
159                        ]
160                    }/*, {
161                        title: 'Più informazioni',
162                        description: ' <a class="cc-link" href="https://orestbida.com/contact/">Contact me</a>.',
163                    }*/
164                ]
165            }
166        },
167        'en': {
168            consent_modal: {
169                title: 'This website uses cookies',
170                description: 'We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about how you use our website with our web analytics, advertising and social media partners, that may combine it with other information you have provided to them or that they have collected from your use of their services.',
171                primary_btn: {
172                    text: 'Accept all',
173                    role: 'accept_all'      //'accept_selected' or 'accept_all'
174                },
175                secondary_btn: {
176                    text: 'Preferences',
177                    role: 'settings'       //'settings' or 'accept_necessary'
178                },
179                revision_message: ''
180            },
181            settings_modal: {
182                title: 'Cookie settings',
183                save_settings_btn: 'Save',
184                accept_all_btn: 'Accept all',
185                reject_all_btn: 'Reject all',
186                close_btn_label: 'Close',
187                cookie_table_headers: [
188                    {col1: 'Name'},
189                    {col2: 'Domain'},
190                    {col3: 'Description'}, 
191                    {col4: 'Expiry'} 
192                ],
193                blocks: [
194                    {
195                        title: 'Use of cookies',
196                        description: 'Go to our <a href="/en/privacy" class="cc-link">Privacy Policy</a>.'
197                    }, {
198                        title: 'Strictly necessary and technical cookies',
199                        description: "Technical cookies are THOSE that serve the proper functioning of this website.",
200                        toggle: {
201                            value: 'necessary',
202                            enabled: true,
203                            readonly: true  //cookie categories with readonly=true are all treated as "necessary cookies"
204                        }, 
205                        cookie_table: [
206
207                            {
208                                col1: 'SERVERID', 
209                                col2: 'politicheeuropee.gov.it', 
210                                col3: 'Identifier of the web server that is delivering the session', 
211                                col4: 'Session'
212                            },
213                            {
214                                col1: '_pk_*',
215                                col2: 'politicheeuropee.gov.it',
216                                col3: 'Piwik cookies used in order to collect data on the number of times a user visited this website, as well as data for the first visit and the most recent visit. No data is stored that could be traced back to the person who is visiting this website.',
217                                col4: '1 day', 
218                                is_regex: true
219                            }, 
220                            {
221                                col1: 'cc_youtube',
222                                col2: 'politicheeuropee.gov.it',
223                                col3: 'Aims to remember your choice of cookie preferences used by Youtube.',
224                                col4: '1 year'
225                            }
226                        ]
227
228                    },{
229                        title: 'Profiling cookies for marketing purposes',
230                        description: 'Marketing cookies are used in order to track visitors to websites. The purpose is to present advertisements that are relevant and engaging to the individual user and therefore of greater value to third-party publishers and advertisers.',
231                        toggle: {
232                            value: 'analytics',
233                            enabled: false,
234                            readonly: false,
235                            reload: 'on_disable'            // New option in v2.4, check readme.md
236                        },
237                        cookie_table: [
238                            {
239                                col1: '*yt*',
240                                col2: 'youtube.com',
241                                col3: 'Used by the YouTube platform to track user activity.', 
242                                col4: '1 year'
243                            }
244                        ]
245                    }
246                ]
247            }
248        }
249    }
250});
251                

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.