1var currentURL = window.location.href; 2if(currentURL.match('setPreview') || currentURL.match('cookieSet.html') || currentURL.match('removePreview') || currentURL.match('cookieRemove') || currentURL.match('/library/preview/')){ 3 document.write('<script src="http://www.tgadvcdn.it/library/oldLib/advlibrary.js"></script>'); 4 checkControll = 0; 5} else { 6checkLibrary = ['bonsai','paperproject','matematicamente','televisionando.es','haisentito','games4all','gaywave','musicroom','nextmoto','nonmidire','trackback','tshot','vivacinema','suipedali','voiaganto','tuttogratis','tecnozoom','centrometeoitaliano','10elol','donnaclick','exponsor','maddyctive','margherita', 'teamworld','romyspace','silviadeifiori', 'sportando','ellahoy','motorzoom','tecnofans','notiziaweb24']; 7var current = (location.host.match(/([^.]+)\.\w{2,3}(?:\.\w{2})?$/) || [])[1]; 8var current = location.href; 9var checkControll = 0; 10var lib = ''; 11for (var i = 0, len = this.checkLibrary.length; i < len; i++) { 12 if(current.match(this.checkLibrary[i])){ 13 if(this.checkLibrary[i] == 'tuttogratis' || this.checkLibrary[i] == 'voiaganto'){ 14 checkControll = 2; 15 lib = this.checkLibrary[i]; 16 break; 17 }else if(this.checkLibrary[i] == 'matematicamente' || this.checkLibrary[i] == 'bonsai' || this.checkLibrary[i] == 'margherita' || this.checkLibrary[i] == '10elol' || this.checkLibrary[i] == 'paperproject'){ 18 checkControll = 3; 19 break; 20 }else if(this.checkLibrary[i] == 'teamworld'){ 21 checkControll = 4; 22 break; 23 }else if(this.checkLibrary[i] == 'centrometeoitaliano' || this.checkLibrary[i] == 'notiziaweb24'){ 24 checkControll = 6; 25 lib = this.checkLibrary[i]; 26 break; 27 }else { 28 checkControll = 1; 29 lib = this.checkLibrary[i]; 30 break; 31 } 32 } 33}; 34} 35 36/* 37jQuery.each(this.checkLibrary,function(key,tomatch){ 38 if(current.match(tomatch)){ 39 checkControll = 1; 40 return false; 41 } 42}); 43 44*/ 45current = lib; 46 47if(checkControll == 1) { 48 console.log('MATCHED --> '+current); 49 if (typeof scriptLoader == "undefined") {(function(e,t){typeof module!="undefined"&&module.exports?module.exports=t():typeof define=="function"&&define.amd?define(t):this[e]=t()})("$script",function(){function p(e,t){for(var n=0,i=e.length;n<i;++n)if(!t(e[n]))return r;return 1}function d(e,t){p(e,function(e){return!t(e)})}function v(e,t,n){function g(e){return e.call?e():u[e]}function y(){if(!--h){u[o]=1,s&&s();for(var e in f)p(e.split("|"),g)&&!d(f[e],g)&&(f[e]=[])}}e=e[i]?e:[e];var r=t&&t.call,s=r?t:n,o=r?e.join(""):t,h=e.length;return setTimeout(function(){d(e,function t(e,n){if(e===null)return y();!n&&!/^https?:\/\//.test(e)&&c&&(e=e.indexOf(".js")===-1?c+e+".js":c+e);if(l[e])return o&&(a[o]=1),l[e]==2?y():setTimeout(function(){t(e,!0)},0);l[e]=1,o&&(a[o]=1),m(e,y)})},0),v}function m(n,r){var i=e.createElement("script"),u;i.onload=i.onerror=i[o]=function(){if(i[s]&&!/^c|loade/.test(i[s])||u)return;i.onload=i[o]=null,u=1,l[n]=2,r()},i.async=1,i.src=h?n+(n.indexOf("?")===-1?"?":"&")+h:n,t.insertBefore(i,t.lastChild)}var e=document,t=e.getElementsByTagName("head")[0],n="string",r=!1,i="push",s="readyState",o="onreadystatechange",u={},a={},f={},l={},c,h;return v.get=m,v.order=function(e,t,n){(function r(i){i=e.shift(),e.length?v(i,r):v(i,t,n)})()},v.path=function(e){c=e},v.urlArgs=function(e){h=e},v.ready=function(e,t,n){e=e[i]?e:[e];var r=[];return!d(e,function(e){u[e]||r[i](e)})&&p(e,function(e){return u[e]})?t():!function(e){f[e]=f[e]||[],f[e][i](t),n&&n(r)}(e.join("|")),v},v.done=function(e){v([null],e)},v})}; 50 51if (typeof scriptLoader == "undefined") { 52 var scriptLoader = $script; 53} 54
55document.write('<script language="JavaScript" type="text/javascript" src="http://assets.hmai.it/adv/adv_advtg_old.js"></script>'); 56 57scriptLoader("http://www.googletagservices.com/tag/js/gpt.js", "adv_gpt"); 58scriptLoader.ready("adv_gpt", function() { 59 scriptLoader("http://assets.hmai.it/adv/Library/adv."+current+".min.js","ADV_LIB_NEW"); 60}); 61scriptLoader.ready("ADV_LIB_NEW", function() { 62console.log('ADV_LIB_NEW'); 63}); 64 65 66 67}else if(checkControll == 2) { 68 console.log('MATCHED jQ-version --> '+current); 69 if (typeof scriptLoader == "undefined") {(function(e,t){typeof module!="undefined"&&module.exports?module.exports=t():typeof define=="function"&&define.amd?define(t):this[e]=t()})("$script",function(){function p(e,t){for(var n=0,i=e.length;n<i;++n)if(!t(e[n]))return r;return 1}function d(e,t){p(e,function(e){return!t(e)})}function v(e,t,n){function g(e){return e.call?e():u[e]}function y(){if(!--h){u[o]=1,s&&s();for(var e in f)p(e.split("|"),g)&&!d(f[e],g)&&(f[e]=[])}}e=e[i]?e:[e];var r=t&&t.call,s=r?t:n,o=r?e.join(""):t,h=e.length;return setTimeout(function(){d(e,function t(e,n){if(e===null)return y();!n&&!/^https?:\/\//.test(e)&&c&&(e=e.indexOf(".js")===-1?c+e+".js":c+e);if(l[e])return o&&(a[o]=1),l[e]==2?y():setTimeout(function(){t(e,!0)},0);l[e]=1,o&&(a[o]=1),m(e,y)})},0),v}function m(n,r){var i=e.createElement("script"),u;i.onload=i.onerror=i[o]=function(){if(i[s]&&!/^c|loade/.test(i[s])||u)return;i.onload=i[o]=null,u=1,l[n]=2,r()},i.async=1,i.src=h?n+(n.indexOf("?")===-1?"?":"&")+h:n,t.insertBefore(i,t.lastChild)}var e=document,t=e.getElementsByTagName("head")[0],n="string",r=!1,i="push",s="readyState",o="onreadystatechange",u={},a={},f={},l={},c,h;return v.get=m,v.order=function(e,t,n){(function r(i){i=e.shift(),e.length?v(i,r):v(i,t,n)})()},v.path=function(e){c=e},v.urlArgs=function(e){h=e},v.ready=function(e,t,n){e=e[i]?e:[e];var r=[];return!d(e,function(e){u[e]||r[i](e)})&&p(e,function(e){return u[e]})?t():!function(e){f[e]=f[e]||[],f[e][i](t),n&&n(r)}(e.join("|")),v},v.done=function(e){v([null],e)},v})}; 70 71 if (typeof scriptLoader == "undefined") { 72 var scriptLoader = $script; 73 } 74 75 76//if(typeof jQuery=='undefined'){ 77console.log('JQ');
vendor: 2,359 bytes, lines 78-97
78 document.write('<script language="JavaScript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>'); 79//} 80 document.write('<script language="JavaScript" type="text/javascript" src="http://assets.hmai.it/adv/adv_advtg_old.js"></script>'); 81// scriptLoader("http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js","adv_jq"); 82 scriptLoader("http://www.googletagservices.com/tag/js/gpt.js", "adv_gpt"); 83 scriptLoader.ready("adv_gpt", function() { 84 scriptLoader("http://assets.hmai.it/adv/Library/adv."+current+".js"); 85 }); 86}else if (checkControll == 3){ 87 console.log('DISABLE'); 88 89}else if (checkControll == 4){ 90current = 'teamworld.old'; 91 console.log('MATCHED --> '+current); 92 if (typeof scriptLoader == "undefined") {(function(e,t){typeof module!="undefined"&&module.exports?module.exports=t():typeof define=="function"&&define.amd?define(t):this[e]=t()})("$script",function(){function p(e,t){for(var n=0,i=e.length;n<i;++n)if(!t(e[n]))return r;return 1}function d(e,t){p(e,function(e){return!t(e)})}function v(e,t,n){function g(e){return e.call?e():u[e]}function y(){if(!--h){u[o]=1,s&&s();for(var e in f)p(e.split("|"),g)&&!d(f[e],g)&&(f[e]=[])}}e=e[i]?e:[e];var r=t&&t.call,s=r?t:n,o=r?e.join(""):t,h=e.length;return setTimeout(function(){d(e,function t(e,n){if(e===null)return y();!n&&!/^https?:\/\//.test(e)&&c&&(e=e.indexOf(".js")===-1?c+e+".js":c+e);if(l[e])return o&&(a[o]=1),l[e]==2?y():setTimeout(function(){t(e,!0)},0);l[e]=1,o&&(a[o]=1),m(e,y)})},0),v}function m(n,r){var i=e.createElement("script"),u;i.onload=i.onerror=i[o]=function(){if(i[s]&&!/^c|loade/.test(i[s])||u)return;i.onload=i[o]=null,u=1,l[n]=2,r()},i.async=1,i.src=h?n+(n.indexOf("?")===-1?"?":"&")+h:n,t.insertBefore(i,t.lastChild)}var e=document,t=e.getElementsByTagName("head")[0],n="string",r=!1,i="push",s="readyState",o="onreadystatechange",u={},a={},f={},l={},c,h;return v.get=m,v.order=function(e,t,n){(function r(i){i=e.shift(),e.length?v(i,r):v(i,t,n)})()},v.path=function(e){c=e},v.urlArgs=function(e){h=e},v.ready=function(e,t,n){e=e[i]?e:[e];var r=[];return!d(e,function(e){u[e]||r[i](e)})&&p(e,function(e){return u[e]})?t():!function(e){f[e]=f[e]||[],f[e][i](t),n&&n(r)}(e.join("|")),v},v.done=function(e){v([null],e)},v})}; 93 94if (typeof scriptLoader == "undefined") { 95 var scriptLoader = $script; 96} 97
98document.write('<script language="JavaScript" type="text/javascript" src="http://assets.hmai.it/adv/adv_advtg_old.js"></script>'); 99 100scriptLoader("http://www.googletagservices.com/tag/js/gpt.js", "adv_gpt"); 101scriptLoader.ready("adv_gpt", function() { 102 scriptLoader("http://assets.hmai.it/adv/Library/adv."+current+".min.js","ADV_LIB_NEW"); 103}); 104scriptLoader.ready("ADV_LIB_NEW", function() { 105console.log('ADV_LIB_NEW'); 106}); 107 108 109} else if(checkControll == 5) { 110 console.log('MATCHED --> '+current); 111 112document.write('<script language="JavaScript" type="text/javascript" src="http://assets.hmai.it/adv/adv_advtg_old.js"></script>'); 113document.write('<script language="JavaScript" type="text/javascript" src="http://www.googletagservices.com/tag/js/gpt.js"></script>'); 114document.write('<script language="JavaScript" type="text/javascript" src="http://assets.hmai.it/adv/Library/adv.'+current+'.min.js""></script>'); 115 116 117console.log('ADV_LIB_NEW_DW'); 118 119 120} else if(checkControll == 6) { 121 122console.log('MATCHED --> '+current); 123 if (typeof scriptLoader == "undefined") {(function(e,t){typeof module!="undefined"&&module.exports?module.exports=t():typeof define=="function"&&define.amd?define(t):this[e]=t()})("$script",function(){function p(e,t){for(var n=0,i=e.length;n<i;++n)if(!t(e[n]))return r;return 1}function d(e,t){p(e,function(e){return!t(e)})}function v(e,t,n){function g(e){return e.call?e():u[e]}function y(){if(!--h){u[o]=1,s&&s();for(var e in f)p(e.split("|"),g)&&!d(f[e],g)&&(f[e]=[])}}e=e[i]?e:[e];var r=t&&t.call,s=r?t:n,o=r?e.join(""):t,h=e.length;return setTimeout(function(){d(e,function t(e,n){if(e===null)return y();!n&&!/^https?:\/\//.test(e)&&c&&(e=e.indexOf(".js")===-1?c+e+".js":c+e);if(l[e])return o&&(a[o]=1),l[e]==2?y():setTimeout(function(){t(e,!0)},0);l[e]=1,o&&(a[o]=1),m(e,y)})},0),v}function m(n,r){var i=e.createElement("script"),u;i.onload=i.onerror=i[o]=function(){if(i[s]&&!/^c|loade/.test(i[s])||u)return;i.onload=i[o]=null,u=1,l[n]=2,r()},i.async=1,i.src=h?n+(n.indexOf("?")===-1?"?":"&")+h:n,t.insertBefore(i,t.lastChild)}var e=document,t=e.getElementsByTagName("head")[0],n="string",r=!1,i="push",s="readyState",o="onreadystatechange",u={},a={},f={},l={},c,h;return v.get=m,v.order=function(e,t,n){(function r(i){i=e.shift(),e.length?v(i,r):v(i,t,n)})()},v.path=function(e){c=e},v.urlArgs=function(e){h=e},v.ready=function(e,t,n){e=e[i]?e:[e];var r=[];return!d(e,function(e){u[e]||r[i](e)})&&p(e,function(e){return u[e]})?t():!function(e){f[e]=f[e]||[],f[e][i](t),n&&n(r)}(e.join("|")),v},v.done=function(e){v([null],e)},v})}; 124 125if (typeof scriptLoader == "undefined") { 126 var scriptLoader = $script; 127} 128 129scriptLoader("http://assets.hmai.it/adv/adv_advtg_old.js", "old_adv_gpt"); 130 131scriptLoader.ready("old_adv_gpt", function() { 132 scriptLoader("http://www.googletagservices.com/tag/js/gpt.js", "adv_gpt"); 133}); 134 135 136scriptLoader.ready("adv_gpt", function() { 137 scriptLoader("http://assets.hmai.it/adv/Library/adv."+current+".min.js?10","ADV_LIB_NEW"); 138}); 139scriptLoader.ready("ADV_LIB_NEW", function() { 140console.log('ADV_LIB_NEW'); 141}); 142 143 144 145}else { 146 console.log('NO MATCHED -->'+current);
147 document.write('<script src="http://www.tgadvcdn.it/library/oldLib/advlibrary.js"></script>'); 148}
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.