PageSourceSearch

https://edicola.iltquotidiano.it/ilt/cookies_checker/check.jsp

js iltquotidiano.it collected 2026-10-02 08:28:17 UTC 9,598 bytes, 371 lines download raw bytes

1
2	var cookie_law_settings = [];
3	var cookies = [
4  {
5    "id": 11,
6    "name": "JSESSIONID",
7    "tag": "jsessionid",
8    "category_id": 1,
9    "provider_id": 2,
10    "cookies": "JSESSIONID",
11    "description": "Cookies tecnico per il corretto funzionamento delle sessioni",
12    "editable": 0,
13    "link_policy": "",
14    "starting_value": 1
15  },
16  {
17    "id": 15,
18    "name": "vuidjson",
19    "tag": "vuidjson",
20    "category_id": 1,
21    "provider_id": 2,
22    "cookies": "vuidjson",
23    "description": "Mantenimento login",
24    "editable": 0,
25    "link_policy": "",
26    "starting_value": 1
27  },
28  {
29    "id": 16,
30    "name": "vuid",
31    "tag": "vuid",
32    "category_id": 1,
33    "provider_id": 2,
34    "cookies": "vuid",
35    "description": "Mantenimento login",
36    "editable": 0,
37    "link_policy": "",
38    "starting_value": 1
39  },
40  {
41    "id": 17,
42    "name": "flip_conf",
43    "tag": "flip_conf",
44    "category_id": 2,
45    "provider_id": 2,
46    "cookies": "flip_conf",
47    "description": "Modalità  di sfoglio",
48    "editable": 0,
49    "link_policy": "",
50    "starting_value": 1
51  },
52  {
53    "id": 18,
54    "name": "stx",
55    "tag": "stx",
56    "category_id": 1,
57    "provider_id": 2,
58    "cookies": "stx",
59    "description": "Gestione Postazioni",
60    "editable": 0,
61    "link_policy": "",
62    "starting_value": 1
63  },
64  {
65    "id": 19,
66    "name": "avvlogin",
67    "tag": "avvlogin",
68    "category_id": 1,
69    "provider_id": 2,
70    "cookies": "avvlogin",
71    "description": "Mantenimento Login",
72    "editable": 0,
73    "link_policy": "",
74    "starting_value": 1
75  },
76  {
77    "id": 20,
78    "name": "vn",
79    "tag": "vn",
80    "category_id": 1,
81    "provider_id": 2,
82    "cookies": "vn,extvn",
83    "description": "Gestione Login",
84    "editable": 0,
85    "link_policy": "",
86    "starting_value": 1
87  },
88  {
89    "id": 21,
90    "name": "orderId",
91    "tag": "orderid",
92    "category_id": 1,
93    "provider_id": 2,
94    "cookies": "orderid",
95    "description": "Gestione Carrello",
96    "editable": 0,
97    "link_policy": "",
98    "starting_value": 1
99  },
100  {
101    "id": 22,
102    "name": "workstationCookie",
103    "tag": "workstationcookie",
104    "category_id": 1,
105    "provider_id": 2,
106    "cookies": "workstationCookie",
107    "description": "Cookie tecnico per la gestione delle postazioni",
108    "editable": 1,
109    "link_policy": ".",
110    "starting_value": 1
111  },
112  {
113    "id": 2,
114    "name": "Google Analytics Cookies",
115    "tag": "google-analytics-cookies",
116    "category_id": 3,
117    "provider_id": 4,
118    "cookies": "_ga, gat, utma, utmt, utmb, utmc, utmz, utmv, utmx, _utmxx",
119    "description": "Cookie usati da google per tenere traccia delle statistiche",
120    "editable": 1,
121    "link_policy": "http://www.google.it/intl/it/policies/privacy/",
122    "starting_value": 0
123  },
124  {
125    "id": 7,
126    "name": "Google Adsense",
127    "tag": "google-adsense",
128    "category_id": 4,
129    "provider_id": 4,
130    "cookies": "__gads",
131    "description": "",
132    "editable": 1,
133    "link_policy": "https://support.google.com/adsense/answer/2839090?hl\u003den",
134    "starting_value": 0
135  },
136  {
137    "id": 8,
138    "name": "Google PLUS",
139    "tag": "google-plus",
140    "category_id": 2,
141    "provider_id": 4,
142    "cookies": "",
143    "description": "",
144    "editable": 1,
145    "link_policy": "https://www.google.com/policies/privacy/",
146    "starting_value": 0
147  },
148  {
149    "id": 9,
150    "name": "Youtube",
151    "tag": "youtube",
152    "category_id": 2,
153    "provider_id": 4,
154    "cookies": "yt-remote-connected-devices, yt-remote-online-screens, yt-remote-device-id",
155    "description": "",
156    "editable": 1,
157    "link_policy": "https://www.google.com/policies/privacy/",
158    "starting_value": 0
159  },
160  {
161    "id": 4,
162    "name": "AddThis",
163    "tag": "addthis",
164    "category_id": 3,
165    "provider_id": 6,
166    "cookies": "dt, bt2, bt, loc, vc, di2, um, uid, uit, uvc",
167    "description": "AddThis (formerly Clearspring) offers a platform of social sharing plugins and tools to enable consumers to enjoy the social web. In exchange for this free service, AddThis uses the anonymous social data created via our platform to enable publishers and brands to create a more personal and social web experience for consumers.",
168    "editable": 1,
169    "link_policy": "http://www.addthis.com/privacy/privacy-policy",
170    "starting_value": 0
171  },
172  {
173    "id": 5,
174    "name": "Twitter",
175    "tag": "twitter",
176    "category_id": 2,
177    "provider_id": 7,
178    "cookies": "metrics_token",
179    "description": "Twitter uses cookies and other similar technologies, such as pixels or local storage, to help provide you with a better, faster, and safer experience. Here are some of the ways that the Twitter servicesâ??including our various websites, SMS, APIs, email notifications, applications, buttons, widgets, and adsâ??use these technologies: to log you into Twitter, save your preferences, personalize the content you see, protect against spam and abuse, and show you more relevant ads.",
180    "editable": 1,
181    "link_policy": "https://support.twitter.com/articles/20170514-twitters-use-of-cookies-and-similar-technologies",
182    "starting_value": 0
183  }
184];
185	var cookies_providers = [
186  {
187    "id": 2,
188    "name": "Tecnici",
189    "tag": "tecnici",
190    "editable": 0
191  },
192  {
193    "id": 4,
194    "name": "Google",
195    "tag": "google-analytics",
196    "editable": 0
197  },
198  {
199    "id": 6,
200    "name": "AddThis",
201    "tag": "addthis",
202    "editable": 0
203  },
204  {
205    "id": 7,
206    "name": "Twitter",
207    "tag": "twitter",
208    "editable": 0
209  }
210];
211	var cookie_name='virtualnewspaper_cookie_law_settings';
212
213	try{
214	  cookie_law_settings=JSON.parse($.cookie(cookie_name));
215	}catch(e){}
216
217	function hasCookie(tag){
218		var isPresent = false;
219		for(var i = 0; i < cookie_law_settings.length; i++){
220			if(cookie_law_settings[i].tag == tag){
221				isPresent = true;
222				break;
223			}
224		}
225		return isPresent;
226	}
227
228	function hasAcceptedCookie(tag){
229		var accepted = false;
230		for(var i = 0; i < cookie_law_settings.length; i++){
231			if(cookie_law_settings[i].tag == tag){
232				accepted = cookie_law_settings[i].accepted;
233				break;
234			}
235		}
236		return accepted;
237	}
238
239	
240	function hasAcceptedCookieProvider(provider_tag){
241		var accepted = false;
242		for(var i = 0; i < cookie_law_settings.length; i++){
243			if(cookie_law_settings[i].provider_tag == provider_tag){
244				accepted = cookie_law_settings[i].accepted;
245				if(!accepted){
246				  break;
247				}
248			}
249		}
250		return accepted;
251	}
252
253	function getCookieProvider(provider_id){
254		var provider = null;
255		for(var i = 0; i < cookies_providers.length; i++){
256			if(cookies_providers[i].id == provider_id){
257				provider = cookies_providers[i];
258				break;
259			}
260		}
261		return provider;
262	}
263
264	function acceptAllCookies(){
265		cookie_law_settings = [];
266		for(var i = 0; i < cookies.length; i++){
267			var provider_tag = getCookieProvider(cookies[i].provider_id).tag;
268			var userCookie = {};
269			userCookie.tag = cookies[i].tag;
270			userCookie.accepted = true;
271			userCookie.provider_tag = provider_tag;
272			cookie_law_settings.push(userCookie);
273		}
274		saveCookieLawSettings();
275	}
276
277	function saveCookieLawSettings(){
278	  $.cookie('cc_cookie_accept', 'cc_cookie_accept', { path: '/', expires: 365});
279	}
280
281	function addCookie(cookie){
282		var provider_tag = getCookieProvider(cookie.provider_id).tag;
283		var userCookie = {};
284		userCookie.tag = cookie.tag;
285		userCookie.accepted = true;
286		userCookie.provider_tag = provider_tag;
287		cookie_law_settings.push(userCookie);
288	}
289	
290	
291	if(jQuery.cookie('cc_cookie_accept') == "cc_cookie_accept"){
292		var addedCookie = false;
293		for(var i = 0; i < cookies.length; i++){
294			if(!hasCookie(cookies[i].tag)){
295				addedCookie = true;
296				addCookie(cookies[i]);
297			}
298		}
299		if(addedCookie){
300		  saveCookieLawSettings();
301		}
302	}else{
303		
304		
305		var addedCookie = false;
306		for(var i = 0; i < cookies.length; i++){
307			if(cookies[i].starting_value == 1){
308				addedCookie = true;
309				addCookie(cookies[i]);
310			}
311		}
312
313		
314		$(function(){
315			$('a:not(.show_cookies_policy)').click(function(){
316				
317				if($(this).closest('.cc-cookies').length == 0){
318				  acceptAllCookies();
319				}
320			});
321		});
322	}
323
324	$(document).ready(function(){
325	  $.cookieCuttr({
326			cookieMessage: '<p class="msg">Questo sito utilizza cookie di profilazione, propri o di altri siti, per inviare messaggi pubblicitari mirati. Se vuoi saperne di pi\u00F9 o negare il consenso a tutti o ad alcuni cookie <a href=\'#\' class=\"show_cookies_policy\">clicca qui<\/a>. Se accedi a un qualunque elemento sottostante questo banner acconsenti all\u2019uso dei cookie</p>',
327			cookieAnalytics: false,
328			cookieNotificationLocationBottom: false,
329			cookieAcceptButtonText: 'Ok',
330			cookieDeclineButton: false
331	  });
332	  
333	  window.setTimeout(function(){
334			/* fix html5 that doesn't use fancybox */
335			if($.fancybox){
336				$('.show_cookies_policy').fancybox({
337					openEffect : 'none',
338					closeEffect : 'none',
339					type: 'iframe',
340					href: '/ilt/cookies_checker/settings.jsp'
341				});
342			}else{
343				/* open only in the new version */
344				
345				function openCookieFrame(){
346          eModal.iframe({
347            title: "Cookie Policy",
348            size: "lg",
349            classname:"vc_modal_cookie",
350            url: '/ilt/cookies_checker/settings.jsp'
351          });
352				}
353				
354				// cookie in footer
355				$('.vc_open_cookies').on("click",function(e){
356					e.preventDefault();
357          openCookieFrame();
358					return false;
359				});
360				
361				// Cookie banner
362        $('.show_cookies_policy').on("click",function(e){
363          e.preventDefault();
364          openCookieFrame();
365          return false;
366        });
367			}
368		}, 100);
369
370	  if(jQuery.cookie('cc_cookie_accept') != "cc_cookie_accept"){}
371	});

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.