1function isMobile(){ 2 var UserAgent = navigator.userAgent; 3 if (UserAgent.match(/iPhone|iPod|iPad|Android|Windows CE|BlackBerry|Symbian|Windows Phone|webOS|Opera Mini|Opera Mobi|POLARIS|IEMobile|lgtelecom|nokia|SonyEricsson/i) != null || UserAgent.match(/LG|SAMSUNG|Samsung/) != null) 4 { 5 return true; 6 }else{ 7 return false; 8 } 9} 10 11if(isMobile()) { 12 location.href = "/m"; //모ë°ì¼íì´ì§ 13} else { 14}
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.