1// JavaScript Document 2 3 4// ã¿ãã¬ããã§PCã表示ããç¨ 5 6var ua = navigator.userAgent; 7if ((ua.indexOf('iPhone') > 0) || ua.indexOf('iPod') > 0 || (ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0)) { 8 document.write('<meta name="viewport" content="width=device-width">'); 9} else { 10 document.write('<meta name="viewport" content="width=1120">'); 11} 12 13 14// Copyrightãå¹´å·è¡¨ç¤º 15 16// HTMLã®è¨è¿°ã<script>ShowNowYear();</script> 17function ShowNowYear() { 18 var now = new Date(); 19 var year = now.getFullYear(); 20 document.write(year); 21} 22 23// HTMLã®è¨è¿°ã<script>document.write(get_yearc(2018));</script> 24function get_yearc(y_def) { 25 var d_now = new Date(); 26 var y_now = d_now.getFullYear(); 27 var str = y_def; 28 if(y_def != y_now) str += "- " + y_now; 29 return str; 30}
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.