1//Event.observe(window,'load',function(){ 2if((navigator.userAgent.match(/iPhone/i)) ||(navigator.userAgent.match(/iPod/i))||(navigator.userAgent.match(/samsung/i))||(navigator.userAgent.match(/mobile/i))||(navigator.userAgent.match(/nokia/i))||(navigator.userAgent.match(/mini/i))||(navigator.userAgent.match(/nanomobile/i))||(navigator.userAgent.match(/symbian/i))||(navigator.userAgent.match(/Mobile/i))||(navigator.userAgent.match(/android/i))){ 3 if (!(navigator.userAgent.match(/iPad/i))) { 4 //$('container').insert( { top: '<div id="mobile" style="background-color:#E8E8E8; text-align:center; font-size:20px; font-style:italic; font-weight:bold;"><a href="javascript:void(0)" onClick="returnToMobile();">Passa alla visualizzazione mobile</a></div>'} ); 5 document.write('<div id="mobile" style="background-color:#E8E8E8; padding: 10px 0; text-align:center; font-size:30px; font-style:arial; font-weight:bold;"><a href="javascript:void(0)" onClick="returnToMobile();">Vai alla versione mobile</a></div>'); 6 } 7} 8//}); 9 10function brw_createcookie(name,value,domain,days) { 11 if (days) 12 { 13 var date = new Date(); 14 date.setTime(date.getTime()+(days*24*60*60*1000)); 15 var expires = "; expires="+date.toGMTString(); 16 } 17 else var expires = ""; 18 document.cookie = name+"="+value+expires+"; domain="+domain+"; path=/"; 19} 20 21function returnToMobile() { 22 var d = document.domain.split('.'); 23 var domain = '.'+d[d.length-2]+'.'+d[d.length-1]; 24 brw_createcookie('wpmp_switcher','mobile',domain); 25 window.location.reload(); 26}
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.