1/** 2 @file 3 checkDevice.js 4 @author h-ali 5 @version 1.0.0.0 6 @since 24/10/2018 7 $Revision: $ 8*/ 9 10function checkDevicePC() { 11 /* 12 var ua = navigator.userAgent; 13 if ((ua.indexOf('iPhone') > 0 && 14 ua.indexOf('iPad') == -1) || 15 ua.indexOf('iPod') > 0 || ua.indexOf('Android') > 0) { 16 // X}zÌêͽàµÈ¢ 17 } else { 18 // PCpÌy[WÉ_CNg·é 19 var url = location.href; 20 url.replace( "/sp/", "" ); 21 location.href = url; 22 } 23 */ 24} 25 26function checkDevicePS() { 27 var ua = navigator.userAgent; 28 if ((ua.indexOf('iPhone') > 0 && 29 ua.indexOf('iPad') == -1) || 30 ua.indexOf('iPod') > 0 || 31 ua.indexOf('Android') > 0) { 32 // X}zpÌy[WÉ_CNg·é 33 var url = location.href; 34 url += 'sp/'; 35 location.href = url; 36 } 37} 38 39
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.