1window.DEVICE = { SP: 0, TB: 1, PC: 2 }; 2 3//import './_require/_viewport-extra'; 4new ViewportExtra(360); //Viewport Extra 5 6//ããã¤ã¹å¤å¥ 7var ua = navigator.userAgent.toLowerCase(); 8var ipad = ua.indexOf('ipad') > -1 || ua.indexOf('macintosh') > -1 && 'ontouchend' in document; 9 10if (ua.indexOf('iphone') > 0 || ua.indexOf('ipod') > 0 || ua.indexOf('android') > 0 && ua.indexOf('mobile') > 0) { 11 //SP 12 window.currentDevice = DEVICE.SP; 13}else{ 14 if (ipad || ua.indexOf('android') > 0) { 15 //ã¿ãã¬ãã 16 window.currentDevice = DEVICE.TB; 17 //document.getElementById('viewport').setAttribute('content', 'width=980'); 18 }else{ 19 //PC 20 window.currentDevice = DEVICE.PC; 21 } 22}
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.