How do you expand this to detect specifically Chrome on Android? thanks var ua = navigator.userAgent; if (ua.indexOf("Android") >= 0) { //Android detected } Code (markup):