site Internet:Tutto Juve: testata giornalistica dedicata alla Juventusteneur
TuttoJuve:testatagiornalisticadedicataallaJuventus (function(){ varhost=window.location.hostname; varelement=document.createElement('script'); varfirstScript=document.getElementsByTName('script')[0]; varurl='cmp.inmobi.com'.concat('/choice/','zps7Pn88rZM7r','/',host,'/choice.js?t_version=V3'); varuspTries=0; varuspTriesLimit=3; element.async=true; element.type='text/jascript'; element.src=url; element.addEventListener('load',function(event){ window.dispatchEvent(newEvent('inmobiLoaded')); window.dispatchEvent(newEvent('_liverampLoaded')); }); firstScript.parentNode.insertBefore(element,firstScript); functionmakeStub(){ varTCF_LOCATOR_NAME='__tcfapiLocator'; varqueue=[]; varwin=window; varcmpFrame; functionaddFrame(){ vardoc=win.document; varotherCMP=!!(win.frames[TCF_LOCATOR_NAME]); if(!otherCMP){ if(doc.body){ variframe=doc.createElement('iframe'); iframe.style.cssText='display:none'; iframe.name=TCF_LOCATOR_NAME; doc.body.appendChild(iframe); }else{ setTimeout(addFrame,5); } } return!otherCMP; } functiontcfAPIHandler(){ vargdprApplies; varargs=arguments; if(!args.length){ returnqueue; }elseif(args[0]==='setGdprApplies'){ if( args.length>3&& args[2]===2&& typeofargs[3]==='boolean' ){ gdprApplies=args[3]; if(typeofargs[2]==='function'){ args[2]('set',true); } } }elseif(args[0]==='ping'){ varretr={ gdprApplies:gdprApplies, cmpLoaded:false, cmpStatus:'stub' }; if(typeofargs[2]==='function'){ args[2](retr); } }else{ if(args[0]==='init'&&typeofargs[3]==='object'){ args[3]=Object.assign(args[3],{t_version:'V3'}); } queue.push(args); } } functionpostMesseEventHandler(event){ varmsgIsString=typeofevent.data==='string'; varjson={}; try{ if(msgIsString){ json=JSON.parse(event.data); }else{ json=event.data; } }catch(ignore){} varpayload=json.__tcfapiCall; if(payload){ window.__tcfapi( payload.command, payload.version, function(retValue,success){ varreturnMsg={ __tcfapiReturn:{ returnValue:retValue, success:success, callId:payload.callId } }; if(msgIsString){ returnMsg=JSON.stringify(returnMsg); } if(event&&event.source&&event.source.postMesse){ event.source.postMesse(returnMsg,'*'); } }, payload.parameter ); } } while(win){ try{ if(win.frames[TCF_LOCATOR_NAME]){ cmpFrame=win; break; } }catch(ignore){} if(win===window.top){ break; } win=win.parent; } if(!cmpFrame){ addFrame(); win.__tcfapi=tcfAPIHandler; win.addEventListener('messe',postMesseEventHandler,false); } }; makeStub(); functionmakeGppStub(){ constCMP_ID=10; constSUPPORTED_APIS=[ '2:tcfeuv2', '6:uspv1', '7:usnatv1', '8:usca', '9:usv1', '10:uscov1', '11:usutv1', '12:usctv1' ]; window.__gpp_addFrame=function(n){ if(!window.frames[n]){ Tutto Juve: testata giornalistica dedicata alla Juventusif(document.body){ vari=document.createElement("iframe"); i.style.cssText="display:none"; i.name=n; document.body.appendChild(i); }else{ window.setTimeout(window.__gpp_addFrame,10,n); } } }; window.__gpp_stub=function(){ varb=arguments; __gpp.queue=__gpp.queue||[]; __gpp.events=__gpp.events||[]; if(!b.length||(b.length==1&&b[0]=="queue")){ return__gpp.queue; } if(b.length==1&&b[0]=="events"){ return__gpp.events; } varcmd=b[0]; varclb=b.length>1?b[1]:null; varpar=b.length>2?b[2]:null; if(cmd==="ping"){ clb( { gppVersion:"1.1",//mustbe“Version.Subversion”,current:“1.1” cmpStatus:"stub",//possiblevalues:stub,loading,loaded,error cmpDisplayStatus:"hidden",//possiblevalues:hidden,visible,disabled signalStatus:"notready",//possiblevalues:notready,ready supportedAPIs:SUPPORTED_APIS,//listofsupportedAPIs cmpId:CMP_ID,//IABassignedCMPID,maybe0duringstub/loading sectionList:[], applicableSections:[-1], gppStTutto Juve: testata giornalistica dedicata alla Juventusring:"", parsedSections:{}, }, true ); }elseif(cmd==="addEventListener"){ if(!("lastId"in__gpp)){ __gpp.lastId=0; } __gpp.lastId++; varlnr=__gpp.lastId; __gpp.events.push({ id:lnr, callback:clb, parameter:par, }); clb( { eventName:"listenerRegistered", listenerId:lnr,//RegisteredIDofthelistener data:true,//positivesignal pingData:{ gppVersion:"1.1",//mustbe“Version.Subversion”,current:“1.1” cmpStatus:"stub",//possiblevalues:stub,loading,loaded,error cmpDisplayStatus:"hidden",//possiblevalues:hidden,visible,disabled signalStatus:"notready",//possiblevalues:notready,ready supportedAPIs:SUPPORTED_APIS,//listofsupportedAPIs cmpId:CMP_ID,//listofsupportedAPIs sectionList:[], applicableSections:[-1], gppString:"", parsedSections:{}, }, }, true ); }elseif(cmd==="removeEventListener"){ varsuccess=false; for(vari=0;ifunctionfile_exists(url){ varreq=this.window.ActiveXObject?newActiveXObject("Microsoft.XMLHTTP"):newXML(); if(!req){ returnfalse; thrownewError('XMLnotsupported'); } req.open('GET',url,false); /*HEADègeneralmentepiùvelocediGETconJaScript*/ req.send(null); if(req.status==200)returntrue; returnfalse;}functiongetQueryParam(param){ varresult=window.location.search.match(newRegExp("(\\?|&)"+param+"(\\[\\])?=([^&]*)")); returnresult?result[3]:false;}/*VIDEOSky*/varvideoSky=false;/*Settgiodellevariabili*/varmenun='';varonline='567';varindirizzo=window.location.pathname.split('/');varword='';if(word=='')word=getQueryParam('word');varplatform='desktop';varasset_id='home';varazione='index';varidsezione='';vartccdate='23dicembreore02:16';varkey='';varkey2='';varcheckUser=true;/*Settgiodellasearchbar(contitoletto)*/varsearchbar=false;if(indirizzo[1]!=''&&word=='')searchbar=indirizzo[1].replace(/-/gi,"").replace(/_/gi,"").toUpperCase();elseif(azione=='search'){ searchbar='Ricerca'; if(word!=false&&word!='')searchbar=searchbar+'per'+word.toUpperCase();}elseif(azione=='contatti')searchbar=azione.toUpperCase();indirizzo=indirizzo[1].replace("-","");if(word==false)word='';/*SettgiodellazonaperbannerLeonardo*/varzonaLeonardo=(azione=='index')?'home':'genr';/*SettgiodellazonaperbannerSole24Ore*/varzonaSole24Ore=(azione=='index')?'Homepe':'Altro';/*Inclusionedelcsspersonalizzatoperkey*/if(key!=''){ varcssKey1='net-static.tcccdn.com/template/tuttojuve.com/css/'+key+'.css'; if(file_exists(cssKey1)!=false)document.write(''); else { varcssKey2='net-static.tcccdn.com/template/tuttojuve.com/css/'+key2+'.css'; if(file_exists(cssKey2)!=false)document.write(''); }} varslot_native=azione=="index"?"/5902/tuttojuve/native_hp":"/5902/tuttojuve/native_interne";vartargeting_native=azione=="index"?"###":"2aiHcGZVgF12JtRiWZJR6NPG"; varbanner={"336x90":[{"idbanner":"31","width":336,"height":90,"crop":"1","async":"0","uri":"http:\/\/","embed":"","img1":"6a21a70daa97cdd8341a7d.jpg","partenza":00,"scadenza":-996,"pine":""}],"160x300":[{"idbanner":"74","width":160,"height":300,"crop":"1","async":"0","uri":":\/\/\/?affiliateId=&bannerId=7","embed":"","img1":"eeccf63ae4d125ae1dbf.gif","partenza":-996,"scadenza":00,"pine":""}],"160x300_2":[{"idbanner":"77","width":160,"height":300,"crop":"1","async":"0","uri":"http:\/\/\/","embed":"","img1":"0440fde8a8d711eef0f1af2d3fd.jpg","partenza":00,"scadenza":00,"pine":""}]}; varnow=Math.round(newDate().getTime()/1000); varbannerok=newObject(); for(varzonainbanner) { bannerok[zona]=newArray(); for(i=0;i0&&banner[zona][i]['scadenza']now)ok=0; if(typeofazione!=='undefined'&&azione!==null){ if(banner[zona][i]['pine']=='!index'&&azione=='index')ok=0; elseif(banner[zona][i]['pine']=='index'&&azione!='index')ok=0; } if(ok==1)bannerok[zona].push(banner[zona][i]); } bannerok[zona].sort(function(){return0.5-Math.random()}); } banner=bannerok;varbanner_url='net-store.tcccdn.com';varbanner_path='/store/tuttojuve.com/banner/'functionasyncLoad(){ if(azione=='read'){ varscripts=[ "connect.facebook.net/it_IT/all.js#xfbml=1", ]; (function(array){ for(vari=0,len=array.length;i window['gt_enable_tcf_support']=true; window.dataLayer=window.dataLayer||[]; functiongt(){dataLayer.push(arguments);} gt('js',newDate()); gt('config','G-YT2MLX1FN3',{"asset_id":asset_id,"platform":platform});// if(azione=="search"&&word!=false&&word!=""){// gt("event","search",{"search_term":word});// }//StaticQueueSnippet!function(t,n){ t[n]=t[n]||{ nlsQ:function(e,o,c,r,s,i){ returns= t.document, r=s.createElement("script"), r.async=1, r.src="cdn-gl.imrworldwide.com/conf/"+e+".js#name="+o+"&ns="+n, i=s.getElementsByTName("script")[0], i.parentNode.insertBefore(r,i), t[n][o]=t[n][o]||{ g:c||{}, ggPM:function(e,c,r,s,i){ (t[n][o].q=t[n][o].q||[]).push([e,c,r,s,i]) } }, t[n][o]; } }}(window,"NOLBUNDLE");//SDKInitializationvarnSdkInstance=NOLBUNDLE.nlsQ("PE16F3075-385A-4D2A-B9B0-784D4C99BCD9","nlsnInstance");//ContentMetadatavarnielsenMetadata={ "type":"static", "assetid":asset_id, "section":"TuttoJuve_BRW"};//Event"staticstart"CallnSdkInstance.ggPM("staticstart",nielsenMetadata);(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':newDate().getTime(),event:'gtm.js'});varf=d.getElementsByTName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='/gtm.js?id='+i+dl;f.parentNode.inTutto Juve: testata giornalistica dedicata alla JuventussertBefore(j,f);})(window,document,'script','dataLayer','GTM-NMRJB3KC');functionupdateMetaT(){ varpubstackMetaT=document.querySelector('meta[name="pbstck_context:section"]'); if(window.location.pathname==='/'){ if(window.innerWidth0){ tccClearCMPStore=null; }}if(tccClearCMPStore==null){ localStore.removeItem('_cmpRepromptHash'); localStore.removeItem('CMPList'); localStore.removeItem('gdprVendorList'); localStore.removeItem('euconsent-v2'); localStore.removeItem('sas_euconsent_v2'); localStore.removeItem('addtl_consent'); localStore.removeItem('cconsent-v2'); localStore.setItem('tccClearCMPStore',newDate().toISOString());}